[]
        
(Showing Draft Content)

C1.Android.Calendar.CalendarTextSlotPresenter

CalendarTextSlotPresenter Class

Slot presenter that is only able to show text

Inheritance
CalendarTextSlotPresenter
Implements
Namespace: C1.Android.Calendar
Assembly: C1.Android.Calendar.dll
Syntax
public class CalendarTextSlotPresenter : CalendarSlotPresenter, IDependencyObject
Public Class CalendarTextSlotPresenter
    Inherits CalendarSlotPresenter
    Implements IDependencyObject

Constructors

Name Description
CalendarTextSlotPresenter(Context)

Initializes a new instance of the CalendarTextSlotPresenter class.

CalendarTextSlotPresenter(Context, IAttributeSet)

Initializes a new instance of the CalendarTextSlotPresenter class.

CalendarTextSlotPresenter(Context, IAttributeSet, int)

Initializes a new instance of the CalendarTextSlotPresenter class.

CalendarTextSlotPresenter(nint, JniHandleOwnership)

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

Gets whether the OnRenderContent(Canvas, C1Rect) 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.

Methods

Name Description
Dispose(bool)
GetContentMeasureSize(C1Size, bool, bool)

Gets the measure of the content of the border.

OnAttachedToWindow()
OnDetachedFromWindow()
OnFlowDirectionChanged()

Called when the flow direction changed.

OnFontChanged()

Called when any of the font properties changed.

OnForegroundChanged()

Called when the foreground changed.

OnRenderContent(Canvas, C1Rect)

Draw the content of the control in the specified drawingContext.