[]
Represents a visual icon that can be tinted and resized.
public abstract class C1Icon : ViewGroup, IDependencyObject
| Name | Description |
|---|---|
| C1Icon(Context) | Initializes a new instance of the C1Icon class. |
| Name | Description |
|---|---|
| ColorProperty | |
| DEFAULT_HEIGHT | The default height of an icon. |
| DEFAULT_WIDTH | The default width of an icon. |
| PaddingProperty | |
| RenderHeightProperty | |
| RenderWidthProperty |
| Name | Description |
|---|---|
| Color | Gets or sets the color used to paint the icon. |
| 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. |
| Name | Description |
|---|---|
| FinalizeUI() | Finalizes the user interface. |
| GetIntrinsicIconSize() | Gets the intrinsic size of the icon. |
| GetValue(DependencyProperty) | |
| InitializeUI() | Initializes the UI. |
| OnAttachedToWindow() | |
| OnColorChanged(Nullable<Color>, Nullable<Color>) | Called when the ColorProperty is updated. |
| OnMeasure(int, int) | |
| OnPaddingChanged(C1Thickness, C1Thickness) | Called when the PaddingProperty is updated. |
| OnRenderHeightChanged(double, double) | Called when RenderHeightProperty changed. |
| OnRenderWidthChanged(double, double) | Called when RenderWidthProperty changed. |
| SetValue(DependencyProperty, object) |