IconElement class¶
Attributes: [TypeConverter(typeof(IconElementConverter))]
Defined in
Namespace: CrissCross.WPF.UI.Controls
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Controls.IconElement
Modifiers: public abstract
Summary¶
Represents the base class for an icon UI element.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Class hierarchy
classDiagram
class IconElement
class FrameworkElement
FrameworkElement <|-- IconElement
Inherits from: FrameworkElement
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| Foreground | |
| VisualChildrenCount | Gets the number of visual child elements within this element. |
Fields¶
| Name | Summary |
|---|---|
| static ForegroundProperty | Identifies the [Foreground](# dependency property. |
Methods¶
| Name | Summary |
|---|---|
| static Coerce | Coerces the value of an Icon dependency property, allowing the use of either IconElement or IconSourceElement. |
| InitializeChildren | Initializes the children. |
| OnForegroundChanged | Raises the ForegroundChanged event. |
| GetVisualChild | Overrides GetVisualChild, and returns a child at the specified index from a collection of child... |
| MeasureOverride | When overridden in a derived class, measures the size in layout required for child elements and determines a size for the... |
| ArrangeOverride | When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class. |