vMix Forums
»
General
»
General Discussion
»
Show time on screen using xaml
Rank: Advanced Member
Groups: Registered
Joined: 11/17/2015(UTC) Posts: 34
Was thanked: 2 time(s) in 2 post(s)
|
I am wanting to show the current time on my screen. I have got it to work using the Text only xaml and {0:HH:mm tt}, but I would like to add it to program into my custom xaml.
Here is the xaml code I am using <TextBlock x:Name="txtClock" HorizontalAlignment="top" Margin="0,0,0,0" VerticalAlignment="Center" Text="{}{0:HH:mm tt}" TextAlignment="Center" FontSize="30" FontFamily="Consolas" FontWeight="Bold" />
but it is just showing the text {0:HH:mm:ss tt} on the screen and not the actual time like I want it to.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/17/2015(UTC) Posts: 34
Was thanked: 2 time(s) in 2 post(s)
|
I figured it out by taking my code to the other code, so must have something to do with the
xmlns:my="clr-namespace:vMixTitleLibrary;assembly=vMixTitleLibrary"
|
|
|
|
vMix Forums
»
General
»
General Discussion
»
Show time on screen using xaml
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close