This documentation is archived and is not being maintained.

Style Properties

(see also Protected Properties )
  Name Description
Public property Alignment Gets or sets the specified alignment for the style. The default value is Alignment.NotSet.
Public property BackColor Gets or sets the specified background color for the style. The default value is Color.Empty.
Public property Control Returns a strongly typed reference to the associated control.
Public property DeviceSpecific Gets or sets the DeviceSpecific/Choice construct associated with the control. The accessor returns a null reference (Nothing in Visual Basic) if no such construct exists.
Public property Font Returns a FontInfo object that contains font information about the control.
Public property ForeColor Gets or sets the specified foreground color for the style. Typically, this property sets the color for the text. The default value is Empty.
Public property IsTemplated Gets a value indicating whether a Style object has an active template set.
Public property Item Overloaded. Returns the style through the key parameter, with or without using inheritance.
Public property Name Gets or sets the name of the specified object. The default value is an empty string ("").
Public property StyleReference Gets or sets a reference to the style properties for a Style.
Public property Wrapping Gets or sets the specified wrapping mode for the style. The default value is NotSet.
Top

  Name Description
Protected property IsTrackingViewState Gets a value indicating whether the Style object is saving changes to its view state.
Protected property State Gets the current contents of the StateBag.
Top
Show: