ClassStyleRepository
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class StyleRepository
Inheritance: objectStyleRepository
Constructors
StyleRepository()
Initializes a new instance of the StyleRepository class.
Declaration
public StyleRepository()
StyleRepository(StyleRepository)
Initializes a new instance of the StyleRepository class by using an existigng instance.
Declaration
public StyleRepository(StyleRepository repository)
Parameters
repository
The StyleRepository to be used as a source
StyleRepository(string)
Initializes a new instance of the StyleRepository class and specifies the repository key.
Declaration
public StyleRepository(string key)
Parameters
key
The repository key.
StyleRepository(string, string, string)
Initializes a new instance of the StyleRepository class and specifies its main properties.
Properties
ItemType
Gets or sets the repository type.
Key
Gets or sets the repository key.
Name
Gets or sets the repository name.
Settings
Gets a collection containing the repository settings.
Declaration
public List<PropertySetting> Settings { get; }
Property Value
List<PropertySetting>
Methods
FindSetting(RadProperty)
Searches for a specific property setting in the repository.
Declaration
public PropertySetting FindSetting(RadProperty property)
Parameters
property
The property to search for.
Returns
An instance of PropertySetting
FindSetting(string)
Searches for a specific property setting in the repository.
Declaration
public PropertySetting FindSetting(string name)
Parameters
name
The property name to search for.
Returns
An instance of PropertySetting
Initialize()
Initializes the repository and maps its properties.
Declaration
public void Initialize()