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

Template 10 ellipsis collapsed error #1739

Open
jameljoseph opened this issue Feb 18, 2022 · 0 comments
Open

Template 10 ellipsis collapsed error #1739

jameljoseph opened this issue Feb 18, 2022 · 0 comments

Comments

@jameljoseph
Copy link

jameljoseph commented Feb 18, 2022

I inherited a program that was developed using c# and UWP that has errors that do not crash the program.

There are 2 control bars, a page header and page footer and the buttons are small enough that I do not need the ellipsis so I am trying to remove the ellipsis. The controls are from uwp template 10 (xmlns:Controls="using:Template10.Controls")

I am using the following XAML code:

<RelativePanel>

        <Controls:PageHeader x:Name="pageHeader" Frame="{x:Bind Frame}"
                             RelativePanel.AlignLeftWithPanel="True" RelativePanel.AlignRightWithPanel="True"  RelativePanel.AlignTopWithPanel="True" 
                             x:Uid="MapPageHeader" IsOpen="True" IsSticky="True" Height="40" DefaultLabelPosition="Right" EllipsisVisibility="Collapsed">

            <!--  primary commands  -->
            <Controls:PageHeader.PrimaryCommands>

                <AppBarButton x:Name="MapPageStationCommandButton" Label="" MaxWidth="100" Height="57" IsCompact ="True" Foreground="White" Icon="Map" Tapped="{x:Bind ViewModel.MapPageQuickButtons_Tapped}" x:Uid="MapPageStationCommand" VerticalAlignment="Bottom" />
                                </Controls:PageHeader.PrimaryCommands>

        </Controls:PageHeader>

The issue is I get the blue wiggly lines below the EllipsisVisibility="Collapsed" text with the explanation that "Unable to convert Collapse to an object of type Template10.Behaviors.EllipsisBehavior+Visibilities.

What does this mean?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant