Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WinUI] The 'Icon' property that can be attached was not found in type 'SvgAwesome'. #16

Closed
djonasdev opened this issue May 10, 2022 · 3 comments

Comments

@djonasdev
Copy link

Using the attached property SvgAwesome.Icon does not work.

<Button svg:SvgAwesome.Icon="Soild_Flags"/>

grafik

*.csproj

  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net6.0-windows10.0.18362.0</TargetFramework>
    <TargetPlatformMinVersion>10.0.18362.0</TargetPlatformMinVersion>
    <RootNamespace>HtSuite.WinUI.Leitstand</RootNamespace>
    <ApplicationManifest>app.manifest</ApplicationManifest>
    <Platforms>x86;x64;arm64</Platforms>
    <RuntimeIdentifiers>win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
    <PublishProfile>win10-$(Platform).pubxml</PublishProfile>
    <UseWinUI>true</UseWinUI>
    <EnablePreviewMsixTooling>true</EnablePreviewMsixTooling>
    <WindowsPackageType>None</WindowsPackageType>
    <SupportedOSPlatformVersion>10.0.18362.0</SupportedOSPlatformVersion>
  </PropertyGroup>
@MartinTopfstedt
Copy link
Owner

Hi, WinUI does not have attached property support right now.

@djonasdev
Copy link
Author

Thanks for the fast respond. 👍 Unfortunately, it is difficult to see from the readme.

@MartinTopfstedt
Copy link
Owner

I will see if i can improve the README, and probably implement this at some time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants