[]
        
(Showing Draft Content)

C1.Win.Themes.StyledPropertyCollection

StyledPropertyCollection Class

Closed collection of C1.Win.Themes.StyledPropertyCollection.StyledProperty objects.

Inheritance
StyledPropertyCollection
Namespace: C1.Win.Themes
Assembly: C1.Win.8.dll
Syntax
public class StyledPropertyCollection : INotifyPropertyChanged, IDisposable

Constructors

Name Description
StyledPropertyCollection()

Initializes a new instance of the StyledPropertyCollection.

StyledPropertyCollection(params StyledPropertyInfo[])

Initializes a new instance of the StyledPropertyCollection.

Properties

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.

Methods

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.

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.

TryGetProperty(out object, string)

Tries to get value of the specified styled property.

Events

Name Description
PropertyChanged

Fires when any properties change.