<UserControl x:Class="RMSControlLib.Resources.BevelBox"
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"
x:Name="RootControl"
d:DesignWidth="30" d:DesignHeight="30">
...
<Border x:Name="Box"
...
Background="{Binding ElementName=RootControl, Path=FillBrush}"/>
...
</UserControl>
Like this:
Like Loading...
This entry was posted on June 29, 2010 at 10:23 am and is filed under .NET, WPF. You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.