We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code leads to an error: <Setter Property="BackgroundGradientStops" Value="{x:Null}" />
<Setter Property="BackgroundGradientStops" Value="{x:Null}" />
This code works:
<Setter Property="BackgroundGradientStops"> <Setter.Value> <yummy:GradientStopCollection/> </Setter.Value> </Setter>
Full example with error:
<yummy:PancakeView> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> <VisualState x:Name="Normal"> <VisualState.Setters> <Setter Property="BackgroundGradientStops" Value="{x:Null}" /> </VisualState.Setters> </VisualState> <VisualState x:Name="Selected"> <VisualState.Setters> <Setter Property="BackgroundGradientStartPoint" Value="0,0" /> <Setter Property="BackgroundGradientEndPoint" Value="1,0" /> <Setter Property="BackgroundGradientStops"> <Setter.Value> <yummy:GradientStopCollection> <yummy:GradientStop Color="#ff4157" Offset="0" /> <yummy:GradientStop Color="#ff4359" Offset="0.5" /> <yummy:GradientStop Color="#fe93c5" Offset="1" /> </yummy:GradientStopCollection> </Setter.Value> </Setter> </VisualState.Setters> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> </yummy:PancakeView>
Tell me why you can not use Value = "{x: null}"?
Value = "{x: null}"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The code leads to an error:
<Setter Property="BackgroundGradientStops" Value="{x:Null}" />
This code works:
Full example with error:
Tell me why you can not use
Value = "{x: null}"
?The text was updated successfully, but these errors were encountered: