IconSource.GetIconElementPropertyCore(DependencyProperty) Method

Definition

Maps IconSource properties to IconElementProperties.

protected:
 virtual DependencyProperty ^ GetIconElementPropertyCore(DependencyProperty ^ iconSourceProperty) = GetIconElementPropertyCore;
DependencyProperty GetIconElementPropertyCore(DependencyProperty const& iconSourceProperty);
protected virtual DependencyProperty GetIconElementPropertyCore(DependencyProperty iconSourceProperty);
function getIconElementPropertyCore(iconSourceProperty)
Protected Overridable Function GetIconElementPropertyCore (iconSourceProperty As DependencyProperty) As DependencyProperty

Parameters

iconSourceProperty
DependencyProperty

The IconSource used as the icon content.

Returns

An object that provides support for value expressions, data binding, animation, and property change notification. For more info on how DependencyProperty values serve as identifiers for dependency properties, see Dependency properties overview.

Remarks

When a property on an IconSource is updated, the base class updates the properties on all of the created IconElements it is tracking. This method is how the base class is able to take a dependency property associated with the icon source subtype and set the property on the corresponding IconElement subtype. For example, FontIconSource.GetIconElementPropertyCore(FontIconSource.FontSizeProperty) returns a FontIconSource.FontSizeProperty

Applies to