-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
22 lines (22 loc) · 1.13 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<Window x:Class="SampleApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:SampleApp"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<StackPanel Margin="20">
<TextBlock>
<Run Text="SecretClass type name: " FontWeight="Bold" />
<Run Text="{Binding Path=ObfuscatedTypeName, Mode=OneTime, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}"
FontSize="30" Background="Azure" />
<Run Text="(should be obfuscated)"/>
</TextBlock>
<TextBlock>
<Run Text="Assembly bitness: " FontWeight="Bold"/>
<Run Text="{Binding Path=AssemblyBitness, Mode=OneTime, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}"
FontSize="30" Background="Azure" />
</TextBlock>
</StackPanel>
</Window>