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