This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Grid> | |
<Grid.Resources> | |
<Style x:Key="ThumbStyle1" TargetType="Thumb"> | |
<Setter Property="Template"> | |
<Setter.Value> | |
<ControlTemplate TargetType="Thumb"> | |
<Grid > | |
<Path Data="M13.832941,48.001114 L-0.00066526519,15.584446 L-0.1685528,3.1627214 L46.375076,3.1882343 L46.59383,15.594595 L33.375225,48.063122 z" Fill="#FF6D6D74" Margin="-0.668,2.662,0.906,-0.562" Stretch="Fill" Stroke="Black" UseLayoutRounding="False"/> | |
</Grid> | |
</ControlTemplate> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private bool IsDesignMode { | |
get { | |
DependencyProperty isDesignModeProperty = (DependencyProperty)AppDomain.CurrentDomain.GetData(“IsDesignModeProperty”); | |
return isDesignModeProperty == null ? false : true.Equals(isDesignModeProperty.GetValue(this)); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ItemsControl Grid.IsSharedSizeScope="True"> | |
<ItemsControl.ItemTemplate> | |
<DataTemplate DataType="HeaderedContentControl"> | |
<Grid> | |
<Grid.ColumnDefinitions> | |
<ColumnDefinition SharedSizeGroup="Labels" /> | |
<ColumnDefinition SharedSizeGroup="Inputs" /> | |
</Grid.ColumnDefinitions> | |
<TextBlock Grid.Column="0" Text="{Binding Header}" /> | |
<ContentControl Grid.Column="1" Content="{Binding Content}" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ItemsControl ItemsSource="{Binding StuffThatIsCool}"> | |
<ItemsControl.ItemTemplate> | |
<DataTemplate> | |
<TextBlock Text="{Binding WhyCool}" /> | |
</DataTemplate> | |
</ItemsControl.ItemTemplate> | |
</ItemsControl> |
NewerOlder