[]
        
(Showing Draft Content)

C1.iOS.Core.C1View

C1View Class

Base class for views supporting standard properties.

Implements
Namespace: C1.iOS.Core
Assembly: C1.iOS.Core.dll
Syntax
public abstract class C1View : UIView, IDependencyObject
Public MustInherit Class C1View
    Inherits UIView
    Implements IDependencyObject

Constructors

Name Description
C1View()

Initializes a new instance of the C1View class.

C1View(CGRect)

Initializes a new instance of the C1View class.

C1View(nint)

Initializes a new instance of the C1View class.

Fields

Name Description
BackgroundProperty

Identifies the Background dependency property.

BorderBrushProperty

Identifies the BorderBrush dependency property.

BorderThicknessProperty

Identifies the BorderThickness dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

FlowDirectionProperty

Identifies the FlowDirection dependency property.

FontProperty

Identifies the Font dependency property.

ForegroundProperty

Identifies the Foreground dependency property.

InheritPropertiesProperty

Identifies the InheritProperties dependency property.

PaddingProperty

Identifies the Padding dependency property.

Properties

Name Description
Background

Gets or sets the CoreAnimation.CALayer used to paint the background.

BackgroundColor
BorderBrush

Gets or sets the CoreAnimation.CALayer used to paint the border.

BorderThickness

Gets or sets the UIKit.UIEdgeInsets of the border.

Bounds
CornerRadius

Gets or sets the C1CornerRadius of the border.

FlowDirection

Gets or sets the flow direction.

Font

Gets or sets the font applied to the view.

Foreground

Gets or sets the CoreAnimation.CALayer 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.

Style

Gets or sets the style of this view.

Tag

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

Methods

Name Description
Dispose(bool)
Draw(CGRect)
MovedToWindow()
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.

OnStyleChanged()

Called when the style changed.