ASP.NET Pack Programmer's Guide
Style Members
Constructors Methods Events
 


Represents an unordered dynamic collection of properties that can be identified by name.

The following tables list the members exposed by the Style type.

 Public Constructors

  Name Description

Style

Initializes a new instance of the Style class.

 Public Methods

  Name Description

GetProperties

Gets all properties in the style.

GetProperty

Returns the property with the specified name, if any.

RegisterType

Associates a type with an alias.

 Protected Methods

  Name Description

GetValue

Gets the value of the specified property.

IsPropertySet

Checks whether the specified property has a value.

LoadFrom

Deserializes the item from the specified reader.

LoadFromXml

Loads the style content from an XML element.

OnPropertyChanged

Raises the PropertyChanged event.

RegisterProperty

Registers a new property with the specified name and type.

SaveTo

Serializes the style to the specified writer.

SaveToXml

Saves the style content into an XML element.

SetValue

Sets the value of the specified property.

UnsetValue

Clears the value of the specified property.

 Public Events

  Name Description

PropertyChanged

Raised when any of the registered style properties has changed.

 See Also

Style Class
MindFusion.Diagramming Namespace