Skip to content

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

NameSummary
.ctor

Properties

NameSummary
Foreground
VisualChildrenCountGets the number of visual child elements within this element.

Fields

NameSummary
static ForegroundPropertyIdentifies the [Foreground](# dependency property.

Methods

NameSummary
static CoerceCoerces the value of an Icon dependency property, allowing the use of either IconElement or IconSourceElement.
InitializeChildrenInitializes the children.
OnForegroundChangedRaises the ForegroundChanged event.
GetVisualChildOverrides GetVisualChild, and returns a child at the specified index from a collection of child...
MeasureOverrideWhen overridden in a derived class, measures the size in layout required for child elements and determines a size for the...
ArrangeOverrideWhen overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

Derived types

Inherited members