[]
        
(Showing Draft Content)

C1.iOS.Core.C1Icon

C1Icon Class

Represents a visual icon that can be tinted and resized.

Implements
Namespace: C1.iOS.Core
Assembly: C1.iOS.Core.dll
Syntax
public abstract class C1Icon : UIView, IDependencyObject

Constructors

Name Description
C1Icon()

Initializes a new instance of the C1Icon class.

C1Icon(IntPtr)

Initializes a new instance of the C1Icon class.

Fields

Name Description
ColorProperty
DEFAULT_HEIGHT

The default height of an icon.

DEFAULT_WIDTH

The default width of an icon.

PaddingProperty
RenderHeightProperty
RenderWidthProperty

Properties

Name Description
Color

Gets or sets the color used to paint the icon.

IntrinsicContentSize
Padding

Gets or sets the padding of the icon.

RenderHeight

Gets the height of the icon. If Nan, the arrange height will be used.

RenderWidth

Gets the width of the icon. If Nan, the arrange width will be used.

Methods

Name Description
FinalizeUI()

Finalizes the user interface.

GetIntrinsicIconSize()

Gets the intrinsic size of the icon.

GetValue(DependencyProperty)
InitializeUI()

Initializes the UI.

MovedToSuperview()
OnColorChanged(UIColor, UIColor)

Called when the ColorProperty is updated.

OnPaddingChanged(UIEdgeInsets, UIEdgeInsets)

Called when the PaddingProperty is updated.

OnRenderHeightChanged(double, double)

Called when RenderHeightProperty changed.

OnRenderWidthChanged(double, double)

Called when RenderWidthProperty changed.

SetValue(DependencyProperty, object)
SizeThatFits(CGSize)