Search
Style Members
Constructors Fields Properties Methods Events
 


Specifies the appearance of calendar elements.

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

 Public Constructors

  Name Description

Style

Overloaded.  

 Public Fields

  Name Description

EmptyColor

Represents an unset color. The control looks for values up in the style hierarchy or theme when a property is unset.

 Public Properties

  Name Description

BorderBottomColor

Gets or sets the color used to paint the bottom border of a calendar element.

BorderBottomWidth

Gets or sets the width in pixels of the bottom border of an element.

BorderLeftColor

Gets or sets the color used to paint the left border of a calendar element.

BorderLeftWidth

Gets or sets the width in pixels of the left border of an element.

BorderRightColor

Gets or sets the color used to paint the right border of a calendar element.

BorderRightWidth

Gets or sets the width in pixels of the right border of an element.

BorderTopColor

Gets or sets the color used to paint the top border of a calendar element.

BorderTopWidth

Gets or sets the width in pixels of the top border of an element.

Brush

Gets or sets the brush used to fill the interior of elements.

FillColor

Gets or sets the color used to fill calendar elements.

Font

Gets or sets the font used to display an element's text.

HeaderBorderBottomColor

Gets or sets the color used to paint the bottom border of an element's header.

HeaderBorderBottomWidth

Gets or sets the width in pixels of the bottom border of an element's header.

HeaderBorderLeftColor

Gets or sets the color used to paint the left border of an element's header.

HeaderBorderLeftWidth

Gets or sets the width in pixels of the left border of an element's header.

HeaderBorderRightColor

Gets or sets the color used to paint the right border of an element's header.

HeaderBorderRightWidth

Gets or sets the width in pixels of the right border of an element's header.

HeaderBorderTopColor

Gets or sets the color used to paint the top border of an element's header.

HeaderBorderTopWidth

Gets or sets the width in pixels of the top border of an element's header.

HeaderBrush

Gets or sets the brush used to fill the interior of an element's header.

HeaderFont

Gets or sets the font used to paint the text of an element's header.

HeaderTextAlignment

Gets or sets the alignment of the headers' text.

HeaderTextBottomMargin

Gets or sets the bottom header text margin.

HeaderTextColor

Gets or sets the color used to paint the text of an element's header.

HeaderTextLeftMargin

Gets or sets the left header text margin.

HeaderTextRightMargin

Gets or sets the right header text margin.

HeaderTextShadowColor

Gets or sets the color of the shadow cast by the header text.

HeaderTextShadowOffset

Gets or sets the distance of the shadow from the header text that casts it.

HeaderTextShadowStyle

Gets or sets the type of the shadow cast by the header text.

HeaderTextTopMargin

Gets or sets the top header text margin.

LineColor

Gets or sets the color used to paint various lines that are not part of element borders.

TextAlignment

Gets or sets the alignment of the text contents of a calendar element.

TextBottomMargin

Gets or sets the bottom text margin.

TextColor

Gets or sets the color used to paint an element's text.

TextLeftMargin

Gets or sets the left text margin.

TextRightMargin

Gets or sets the right text margin.

TextShadowColor

Gets or sets the color of the shadow cast by the text.

TextShadowOffset

Gets or sets the distance of the shadow from the text that casts it.

TextShadowStyle

Gets or sets the type of the shadow cast by the text.

TextTopMargin

Gets or sets the top text margin.

 Public Methods

  Name Description

Clone

Creates an exact copy of this Style object.

Equals

Determines whether a Style instance is equivalent to this Style.

GetHashCode

Returns the hash code for this Style instance.

Reset

Resets the style to the default state.

SetCascadeStyle

Sets the parent of this style in the cascade hierarchy.

 Protected Methods

  Name Description

OnChanged

Fires the Changed event.

 Public Events

  Name Description

Changed

Raised when the style changes.

 See Also