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

Missing </Border> tag #738

Closed
DhiMalo opened this issue Nov 15, 2018 — with docs.microsoft.com · 0 comments
Closed

Missing </Border> tag #738

DhiMalo opened this issue Nov 15, 2018 — with docs.microsoft.com · 0 comments
Assignees
Labels
area-xaml XAML-related feedback. eng-triaged Issue has been triaged by engineering team responsible.
Projects

Comments

Copy link

DhiMalo commented Nov 15, 2018

The example code is missing a closing tag.
It should likely read:
<Style x:Key="ListViewItemStyle1" TargetType="ListViewItem">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListViewItem">
<Border x:Name="OuterContainer">
<VisualStateManager.VisualStateGroups>
<!-- Dragging-related VisualStates of the ListViewItem control which use
DragItemThemeAnimation and DropTargetItemThemeAnimation. -->
<VisualStateGroup x:Name="DragStates">
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="0:0:0.650" To="NotDragging"/>
</VisualStateGroup.Transitions>
<VisualState x:Name="NotDragging"/>
<VisualState x:Name="Dragging">
<Storyboard>
<DragItemThemeAnimation TargetName="InnerDragContent"/>
<FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter"/>
<FadeOutThemeAnimation TargetName="SelectedBorder"/>
</Storyboard>
</VisualState>
<VisualState x:Name="DraggingTarget">
<Storyboard>
<DropTargetItemThemeAnimation TargetName="OuterContainer"/>
</Storyboard>
</VisualState>
<VisualState x:Name="MultipleDraggingPrimary">
<Storyboard>
<FadeInThemeAnimation TargetName="MultiArrangeOverlayBackground"/>
<FadeInThemeAnimation TargetName="MultiArrangeOverlayText"/>
<DragItemThemeAnimation TargetName="ContentBorder"/>
<FadeOutThemeAnimation TargetName="SelectionBackground"/>
<FadeOutThemeAnimation TargetName="SelectedCheckMarkOuter"/>
<FadeOutThemeAnimation TargetName="SelectedBorder"/>
<FadeOutThemeAnimation TargetName="PointerOverBorder"/>
</Storyboard>
</VisualState>
<VisualState x:Name="MultipleDraggingSecondary">
<Storyboard>
<FadeOutThemeAnimation TargetName="ContentContainer"/>
</Storyboard>
</VisualState>
</VisualStateGroup>

                        &lt;!-- Additional state groups here. --&gt;

                    &lt;/VisualStateManager.VisualStateGroups&gt;

                    &lt;!-- Template content here. --&gt;
                &lt;/Border&gt;
            &lt;/ControlTemplate&gt;
        &lt;/Setter.Value&gt;
    &lt;/Setter&gt;
&lt;/Style&gt;

Document Details

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

@jevansaks jevansaks added area-xaml XAML-related feedback. eng-triaged Issue has been triaged by engineering team responsible. labels Apr 17, 2019
@jwmsft jwmsft added this to Closed in XAML triage Aug 15, 2019
@jwmsft jwmsft closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-xaml XAML-related feedback. eng-triaged Issue has been triaged by engineering team responsible.
Projects
XAML triage
  
Closed
Development

No branches or pull requests

4 participants