Skip to content

Uno.UI.Xaml and DependencyProperty #7207

@AghaKhan

Description

@AghaKhan

Current behavior

I have a Library where I wanted to create some Dependency Properties but I am unable to find Uno.UI.Xaml. Obviously by default Uno.UI is installed. As I understand you provide DependencyProperty Generator, but where I can find it?
I would like to create
public static readonly DependencyProperty LocationProperty = DependencyProperty.Register("Location", typeof(Point), typeof(HexagonCrl));

and
public static readonly DependencyProperty DataProperty = DependencyProperty.Register("Data", typeof(ObservableCollection), typeof(HexagonCrl), new PropertyMetadata(null, NutNumbersChanged));

Any help will be very much appreciated.

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

No response

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdCategorizes an issue for which the difficulty level needs to be defined.kind/bugSomething isn't workingtriage/untriagedIndicates an issue requires triaging or verification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions