StyleRegistration
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class StyleRegistration
Inheritance: objectStyleRegistration
Constructors
Initializes a new instance of the StyleRegistration class.
public StyleRegistration()
Initializes a new instance of the StyleRegistration class.
public StyleRegistration(string registrationType, string elementType, string controlType, string elementName, string controlName)
The registration type.
elementTypestringThe full element type.
controlTypestringThe full control type.
elementNamestringThe element name.
controlNamestringThe control name.
Initializes a new instance of the StyleRegistration class by creating an ElementTypeDefault registration.
Initializes a new instance of the StyleRegistration class by using an existing StyleRegistration instance.
public StyleRegistration(StyleRegistration registration)
The StyleRegistration to be used as a source.
Properties
Gets or sets the control name.
public string ControlName { get; set; }
Gets or sets the control type.
public string ControlType { get; set; }
Gets or sets the element name.
public string ElementName { get; set; }
Gets or sets the element type.
public string ElementType { get; set; }
Gets or sets the registration type.
public string RegistrationType { get; set; }
Methods
Determines whether the style registration is valid for the specified stylable node.
public bool IsCompatible(IStylableNode item)
The stylable node to check.
Returns:true if the style registration is compatible.
Determines whether the style registration is compatible with existing style registration.
public bool IsCompatible(StyleRegistration registration)
The style registration to check.
Returns:true if the style registration is compatible.