XML-Quellcode
- <UserControl x:Class="jcPages.jcMainGrid"
- 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"
- xmlns:jcStatusleiste="clr-namespace:jcControls"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <Border Grid.Row="1" >
- <jcStatusleiste:jcStatusleiste DataContext="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"/>
- </Border>
- </Grid>
- </UserControl>
Macht man es anders?
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „EaranMaleasi“ ()