Skip to content

x:Bind in a style defined in Resource dictionary #4609

Open
@mc0re

Description

@mc0re

[Enter feedback here]

There is an example missing: how to use both {x:Bind} and {Binding} in a reusable style. Example:

<ResourceDictionary ...>
  <Style TargetType="Button" ...>
    <Setter Property="Width" Value="{x:Bind Height}"/>

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions