eDriven Framework API
StyleAttribute Class
NamespaceseDriven.Gui.StylesStyleAttribute
eDriven Framework API
Style attribute
When used with a class, both the Name, Type and Default (or ProxyType, ProxyMemberName) should be supplied
When using with property/field, nothing is mandatory:
If Default supplied, it is being evaluated when clearing the style and the default value will be used
Declaration Syntax
C#Visual BasicVisual C++
public class StyleAttribute : Attribute
Public Class StyleAttribute _
	Inherits Attribute
public ref class StyleAttribute : public Attribute
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
StyleAttribute()()()()
Initializes a new instance of the StyleAttribute class

Default
Default value (integer for Color, FontMapper ID for font)
This value will be ignored if ProxyType defined (the value will be proxied)

Equals(Object)
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetDefault()()()()
Note: sanity check done outside (in DefaultValuesFactory class)

GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from Attribute.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsDefaultAttribute()()()()
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute.)
Match(Object)
When overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Style name

ProxyMemberName

ProxyType

ToString()()()() (Overrides Object.ToString()()()().)
Type
Value type

TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute.)
Inheritance Hierarchy
Object
Attribute
 StyleAttribute

Assembly: eDriven.Gui (Module: eDriven.Gui) Version: 2.0.1.0 (2.0.1.0)