Class
StyleRegistration

Definition

Namespace:Telerik.WinControls

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class StyleRegistration

Inheritance: objectStyleRegistration

Constructors

StyleRegistration()

Initializes a new instance of the StyleRegistration class.

Declaration

cs-api-definition
public StyleRegistration()

StyleRegistration(StyleRegistration)

Initializes a new instance of the StyleRegistration class by using an existing StyleRegistration instance.

Declaration

cs-api-definition
public StyleRegistration(StyleRegistration registration)

Parameters

registration

StyleRegistration

The StyleRegistration to be used as a source.

StyleRegistration(string)

Initializes a new instance of the StyleRegistration class by creating an ElementTypeDefault registration.

Declaration

cs-api-definition
public StyleRegistration(string elementType)

Parameters

elementType

string

The full element type.

StyleRegistration(string, string, string, string, string)

Initializes a new instance of the StyleRegistration class.

Declaration

cs-api-definition
public StyleRegistration(string registrationType, string elementType, string controlType, string elementName, string controlName)

Parameters

registrationType

string

The registration type.

elementType

string

The full element type.

controlType

string

The full control type.

elementName

string

The element name.

controlName

string

The control name.

Properties

ControlName

Gets or sets the control name.

Declaration

cs-api-definition
public string ControlName { get; set; }

Property Value

string

ControlType

Gets or sets the control type.

Declaration

cs-api-definition
public string ControlType { get; set; }

Property Value

string

ElementName

Gets or sets the element name.

Declaration

cs-api-definition
public string ElementName { get; set; }

Property Value

string

ElementType

Gets or sets the element type.

Declaration

cs-api-definition
public string ElementType { get; set; }

Property Value

string

RegistrationType

Gets or sets the registration type.

Declaration

cs-api-definition
public string RegistrationType { get; set; }

Property Value

string

Methods

IsCompatible(Control)

Determines whether the style registration is valid for the specified control.

Declaration

cs-api-definition
public bool IsCompatible(Control control)

Parameters

control

Control

The control to check.

Returns

bool

true if the style registration is compatible.

IsCompatible(IStylableNode)

Determines whether the style registration is valid for the specified stylable node.

Declaration

cs-api-definition
public bool IsCompatible(IStylableNode item)

Parameters

item

IStylableNode

The stylable node to check.

Returns

bool

true if the style registration is compatible.

IsCompatible(StyleRegistration)

Determines whether the style registration is compatible with existing style registration.

Declaration

cs-api-definition
public bool IsCompatible(StyleRegistration registration)

Parameters

registration

StyleRegistration

The style registration to check.

Returns

bool

true if the style registration is compatible.

IsCompatible(string)

Determines whether the style registration is valid for the specified control type.

Declaration

cs-api-definition
public bool IsCompatible(string controlType)

Parameters

controlType

string

The control type to check.

Returns

bool

true if the style registration is compatible.