Example #1
0
        /////////////////////////////////////////////////////////////////////////////
        public void RenderStyles( Tag tag )
        {
            // ******
            //
            // allows an tag to generate it's own styles, or styles for it's children,
            // Tag.Render( TagRenderMode ) will add inline styles to the tag, Style.IterateTagStyles()
            // (above) will add styles that need to be added to the in-page <style> block
            //
            tag.BuildUpStyles();

            // ******
            blockStyles.Clear();
            IterateTagStyles( tag );
        }