diff --git a/WinUIGallery/Controls/PageHeader.xaml b/WinUIGallery/Controls/PageHeader.xaml index f4ee983ef..99c0c3660 100644 --- a/WinUIGallery/Controls/PageHeader.xaml +++ b/WinUIGallery/Controls/PageHeader.xaml @@ -18,93 +18,88 @@ EmptyValue="Collapsed" NotEmptyValue="Visible" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + - - - - + Text="{x:Bind}" /> + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + Text="Control source code" /> + ToolTipService.ToolTip="Source code of this control in the WinUI repository. For some controls only the XAML file is available" /> - + x:Name="ControlSourceLink" + Content="{x:Bind Item.Title}" + ToolTipService.ToolTip="{x:Bind ControlSourceLink.NavigateUri}" /> - - - - + + + + + + + + + + + + + + + x:Name="CopyLinkButton" + Click="OnCopyLinkButtonClick" + Label="Copy link" + ToolTipService.ToolTip="Copy link"> - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - + + + + + + +