You are not logged in.
Dear visitor, welcome to Aqua Computer Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
Source code |
|
1 |
<MultiBinding Converter="{StaticResource UnitConverter}" ConverterParameter="0" StringFormat=":{0:00}"> |
Source code |
|
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> |
Source code |
|
1 |
Text="{Binding ElementName=this, Path=DataContext.Value, StringFormat={}{0:00}}" |
Source code |
|
1 |
Text="{Binding ElementName=this, Path=DataContext.Value, StringFormat=Test: {0:00}}" |
This post has been edited 3 times, last edit by "-Vulture-" (Aug 14th 2020, 7:34am)
-