public static StyleGroup GetStyleSheetBuilder( IComponentTreeHandler control, string elementTypeFullName, string elementName, string proposedThemeName) { return(ThemeResolutionService.GetStyleSheetBuilder(control, elementTypeFullName, elementName, proposedThemeName, false, (StyleSheet)null)); }
public static StyleGroup GetStyleSheetBuilder( RadElement element, string proposedThemeName) { if (!element.CanHaveOwnStyle) { return((StyleGroup)null); } IComponentTreeHandler control = (IComponentTreeHandler)null; string fullName = element.GetThemeEffectiveType().FullName; string name = element.Name; bool rootElementHasStyle = !(element is RootRadElement) && element.ElementTree != null; StyleSheet rootElementStyle = (StyleSheet)null; if (rootElementHasStyle) { rootElementStyle = element.ElementTree.RootElement.Style; } return(ThemeResolutionService.GetStyleSheetBuilder(control, fullName, name, proposedThemeName, rootElementHasStyle, rootElementStyle)); }
public static StyleGroup GetStyleSheetBuilder(RadElement element) { return(ThemeResolutionService.GetStyleSheetBuilder(element, (string)null)); }