[]
Slot presenter that is only able to show text
public class CalendarTextSlotPresenter : CalendarSlotPresenter, IDependencyObject
Public Class CalendarTextSlotPresenter
Inherits CalendarSlotPresenter
Implements IDependencyObject
| Name | Description |
|---|---|
| CalendarTextSlotPresenter() | Initializes a new instance of the CalendarTextSlotPresenter class. |
| CalendarTextSlotPresenter(CGRect) | Initializes a new instance of the CalendarTextSlotPresenter class. |
| CalendarTextSlotPresenter(nint) | Initializes a new instance of the CalendarTextSlotPresenter class. |
| 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. |
| Name | Description |
|---|---|
| HorizontalTextAlignment | Gets or sets the text horizontal alignment. |
| NeedsRenderContent | Gets whether the OnRenderContent(CGContext, CGRect) method needs to be executed and the clipping of the content. |
| Text | Gets or sets the text. |
| TextMargin | Gets or sets the text margin. |
| VerticalTextAlignment | Gets or sets the text vertical alignment. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| GetContentMeasureSize(CGSize, bool, bool) | Gets the measure of the content of the border. |
| MovedToWindow() | |
| OnFlowDirectionChanged() | Called when the flow direction changed. |
| OnFontChanged() | Called when any of the font properties changed. |
| OnForegroundChanged() | Called when the foreground changed. |
| OnRenderContent(CGContext, CGRect) | Draw the content of the control in the specified |