parent
f869d217ac
commit
f1054a534a
@ -0,0 +1,10 @@ |
|||||||
|
using System.Windows; |
||||||
|
|
||||||
|
[assembly: ThemeInfo( |
||||||
|
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located |
||||||
|
//(used if a resource is not found in the page, |
||||||
|
// or application resource dictionaries) |
||||||
|
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located |
||||||
|
//(used if a resource is not found in the page, |
||||||
|
// app, or any theme specific resource dictionaries) |
||||||
|
)] |
||||||
@ -0,0 +1,17 @@ |
|||||||
|
<ResourceDictionary |
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||||||
|
xmlns:local="clr-namespace:MultiTerm.Wpf.CustomControl"> |
||||||
|
<Style TargetType="{x:Type local:CustomControl1}"> |
||||||
|
<Setter Property="Template"> |
||||||
|
<Setter.Value> |
||||||
|
<ControlTemplate TargetType="{x:Type local:CustomControl1}"> |
||||||
|
<Border Background="{TemplateBinding Background}" |
||||||
|
BorderBrush="{TemplateBinding BorderBrush}" |
||||||
|
BorderThickness="{TemplateBinding BorderThickness}"> |
||||||
|
</Border> |
||||||
|
</ControlTemplate> |
||||||
|
</Setter.Value> |
||||||
|
</Setter> |
||||||
|
</Style> |
||||||
|
</ResourceDictionary> |
||||||
Loading…
Reference in new issue