Sie sind nicht angemeldet.
Quellcode |
|
1 |
<MultiBinding Converter="{StaticResource UnitConverter}" ConverterParameter="0" StringFormat=":{0:00}"> |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<UserControl x:Name="this" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"> <Grid> <TextBlock Text="{Binding ElementName=this, Path=DataContext.Value, StringFormat={}{0:00}}" Foreground="White" FontSize="32" HorizontalAlignment="Center" VerticalAlignment="Center" /> </Grid> </UserControl> |
Quellcode |
|
1 |
Text="{Binding ElementName=this, Path=DataContext.Value, StringFormat={}{0:00}}" |
Quellcode |
|
1 |
Text="{Binding ElementName=this, Path=DataContext.Value, StringFormat=Test: {0:00}}" |
Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »-Vulture-« (14. August 2020, 07:34)
-