[]
        
(Showing Draft Content)

C1.Maui.Core.C1View

C1View Class

Base class for views supporting standard properties.

Implements
Namespace: C1.Maui.Core
Assembly: C1.Maui.Core.dll
Syntax
public abstract class C1View : View, IDisposable

Constructors

Name Description
C1View()

Initializes a new instance of the C1View class.

Fields

Name Description
BorderBrushProperty

Identifies the BorderBrush dependency property.

BorderThicknessProperty

Identifies the BorderThickness dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

FontAttributesProperty

Identifies the FontAttributes dependency property.

FontFamilyProperty

Identifies the FontFamily dependency property.

FontSizeProperty

Identifies the FontSize dependency property.

ForegroundProperty

Identifies the Foreground dependency property.

InheritPropertiesProperty

Identifies the InheritProperties dependency property.

PaddingProperty

Identifies the Padding dependency property.

Properties

Name Description
BorderBrush

Gets or sets the Microsoft.Maui.Controls.Brush used to paint the border.

BorderThickness

Gets or sets the Microsoft.Maui.Thickness of the border.

CornerRadius

Gets or sets the Microsoft.Maui.CornerRadius of the border.

FontAttributes

Gets or sets the font attributes applied to the view.

FontFamily

Gets or sets the font family applied to the view.

FontSize

Gets or sets the font size applied to the view.

Foreground

Gets or sets the Microsoft.Maui.Controls.Brush used to paint the foreground (text and icons).

InheritProperties

Gets or sets whether the general purpose properties like foreground or fonts are inherited to the children automatically.

IsDisposed

Gets whether this instance is disposed.

Padding

Gets or sets the padding of the Content.

Tag

Gets or sets an arbitrary object value that can be used to store custom information about this element.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the C1View class.

OnBackgroundChanged()

Called when the background changed.

OnBorderBrushChanged()

Called when the border brush changed.

OnBorderThicknessChanged()

Called when the border thickness changed.

OnCornerRadiusChanged()

Called when the corner-radius changed.

OnFlowDirectionChanged()

Called when the flow direction changed.

OnFontChanged()

Called when any of the font properties changed.

OnForegroundChanged()

Called when the foreground changed.

OnPaddingChanged()

Called when the padding changed.

OnPropertyChanged(string)
OnStyleChanged()

Called when the style changed.