Share via


IconSource.CreateIconElementCore Method

Definition

Creates an icon UI element.

protected:
 virtual IconElement ^ CreateIconElementCore() = CreateIconElementCore;
IconElement CreateIconElementCore();
protected virtual IconElement CreateIconElementCore();
function createIconElementCore()
Protected Overridable Function CreateIconElementCore () As IconElement

Returns

An instance of the IconElement subtype that the source is associated with. For example, FontIconSource.CreateIconElementCore() returns an instance of FontIcon with all of the FontIcon properties set to the corresponding properties on the source. This object is then kept track of by the base class so it can update the properties on that object when the properties on the source change.

Remarks

Called when the public CreateIconElement method is called.

Applies to