[]
Closed collection of C1.Win.C1Themes.StyledPropertyCollection.StyledProperty objects.
public class StyledPropertyCollection : INotifyPropertyChanged, IDisposable
Name | Description |
---|---|
StyledPropertyCollection() | Initializes a new instance of the StyledPropertyCollection. |
StyledPropertyCollection(params StyledPropertyInfo[]) | Initializes a new instance of the StyledPropertyCollection. |
Name | Description |
---|---|
IsDisposed | Gets a value indicating whether the object has been disposed. |
Name | Gets or sets the style name. |
Owner | Gets collection owner. |
Parent | Gets the parent collection. If some properties are reset or not initialized, the collection will search for them from the parent. |
TopOwner | Gets top owner of the collection. |
Name | Description |
---|---|
BeginUpdate() | Start editing the collection. |
Dispose() | Releases all unmanaged resources. |
Dispose(bool) | Releases all unmanaged resources. |
EndUpdate() | Stop editing the collection. |
GetPropertiesByType<T>() | Gets value of the styled property with the specified type. |
GetProperty(string) | Gets value of the specified styled property. |
GetStyledImage(string, Color) | Gets styled image with specified color. |
HasProperty(string) | Gets a value indicating whether the collection contains a property with the specified name. |
IsInitialized(string) | Gets a value indicating whether the a specified property is initialized. |
OnGetUninitializedProperty(string) | Called when trying to get an initialized property value. |
OnOwnerChanged() | Called when collection owner is changed. |
OnPropertyChanged(object, PropertyChangedEventArgs) | Raises the PropertyChanged event. |
ResetProperty(string) | Completely resets specified property (make it uninitialized, initialization required after that). |
SetProperty(object, string) | Sets value of the existing styled property. |
SetProperty(string, object) | Sets value of the existing styled property. Obsolete: use SetProperty(object, string) instead. |
SetStyledImage(string, Image) | Sets styled image property. Use "SetProperty(object, string) instead. |
ShouldSerializeName() | |
TryGetProperty(out object, string) | Tries to get value of the specified styled property. |
Name | Description |
---|---|
PropertyChanged | Fires when any properties change. |