[]
        
(Showing Draft Content)

C1.WPF.Calendar.CalendarTextSlotPresenter

CalendarTextSlotPresenter Class

Slot presenter that is only able to show text

Inheritance
CalendarTextSlotPresenter
Namespace: C1.WPF.Calendar
Assembly: C1.WPF.Calendar.dll
Syntax
public class CalendarTextSlotPresenter : CalendarSlotPresenter

Constructors

Name Description
CalendarTextSlotPresenter()

Initializes a new instance of the CalendarTextSlotPresenter class.

Fields

Name Description
HorizontalTextAlignmentProperty

Identifies the HorizontalTextAlignment dependency property.

TextMarginProperty

Identifies the TextMargin dependency property.

TextProperty

Identifies the Text dependency property.

VerticalTextAlignmentProperty

Identifies the VerticalTextAlignment dependency property.

Properties

Name Description
HorizontalTextAlignment

Gets or sets the text horizontal alignment.

NeedsRenderContent
Text

Gets or sets the text.

TextMargin

Gets or sets the text margin.

VerticalTextAlignment

Gets or sets the text vertical alignment.

Methods

Name Description
Dispose(bool)
GetContentMeasureSize(Size, bool, bool)
OnApplyTemplate()
OnFlowDirectionChanged()
OnFontChanged()
OnForegroundChanged()
OnRenderContent(DrawingContext, Rect)