public static string RegisterHtmlClassName(HtmlExportContext context, BrickStyle style, PaddingInfo borders, PaddingInfo padding) { if (style == null) { return(String.Empty); } string htmlStyle = PSHtmlStyleRender.GetHtmlStyle(style.Font, style.ForeColor, style.BackColor, style.BorderColor, borders, padding, style.BorderDashStyle, context.RightToLeftLayout); return(context.ScriptContainer.RegisterCssClass(htmlStyle)); }
protected string RegisterHtmlClassName(HtmlExportContext context, BrickStyle style, PaddingInfo borders, PaddingInfo padding) { return(DataCellExportHelper.RegisterHtmlClassName(context, style, borders, padding)); }