Skip to content

Is it possible to define a DependencyPropertyAttribute? #3

@jongleur1983

Description

@jongleur1983

This is only slightly connected to the generics approach of this project, but another followup idea.

Usually a Dependency Property is backed by a common .NET property that uses SetValue() and GetValue in it's accessor methods.

It might be worth to think about an attribute on an auto-property instead, like

[DependencyProperty("propertyName")]
public int BackingProperty { get; set; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions