UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Method GetGlyph

    GetGlyph(DependencyObject)

    Gets the icon displayed by the font icon. The accessors take a Microsoft.UI.Xaml.DependencyObject because the WinUI x:Bind code generator passes attached property targets as Microsoft.UI.Xaml.DependencyObject, so a narrower parameter type fails to compile for x:Bind usage (plain attribute values would work). Setting the property on anything other than a Microsoft.UI.Xaml.Controls.FontIcon throws.

    Declaration
    public static IIconGlyph? GetGlyph(DependencyObject element)
    Parameters
    Type Name Description
    DependencyObject element
    Returns
    Type Description
    IIconGlyph
    © Singulink. All rights reserved.