Skip to content

Commit

Permalink
Update CustomControl.axaml
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes authored Jan 3, 2025
1 parent 8865083 commit 948293d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/BehaviorsTestApplication/Controls/CustomControl.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Grid Name="SideMenuGrid">
<Interaction.Behaviors>
<!--
NOTE: The TemplateBinding for behavior will not work as DataTriggerBehavior has no TemplatedParent set.
NOTE: The TemplateBinding for behavior will work as DataTriggerBehavior has TemplatedParent set.
{TemplateBinding IsMenuOpen}
{Binding IsMenuOpen, RelativeSource={RelativeSource TemplatedParent}}
-->
Expand All @@ -30,7 +30,7 @@
</ChangePropertyAction>
</DataTriggerBehavior>
<!--
NOTE: The TemplateBinding for behavior will not work as DataTriggerBehavior has no TemplatedParent set.
NOTE: The TemplateBinding for behavior will work as DataTriggerBehavior has TemplatedParent set.
{TemplateBinding IsMenuOpen}
{Binding IsMenuOpen, RelativeSource={RelativeSource TemplatedParent}}
-->
Expand Down

0 comments on commit 948293d

Please sign in to comment.