|
|
@ -25,49 +25,49 @@ namespace Perspex.Controls.Primitives |
|
|
Border.BackgroundProperty.AddOwner<TemplatedControl>(); |
|
|
Border.BackgroundProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="BorderBrushProperty"/> property.
|
|
|
/// Defines the <see cref="BorderBrush"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<Brush> BorderBrushProperty = |
|
|
public static readonly PerspexProperty<Brush> BorderBrushProperty = |
|
|
Border.BorderBrushProperty.AddOwner<TemplatedControl>(); |
|
|
Border.BorderBrushProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="BorderThicknessProperty"/> property.
|
|
|
/// Defines the <see cref="BorderThickness"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<double> BorderThicknessProperty = |
|
|
public static readonly PerspexProperty<double> BorderThicknessProperty = |
|
|
Border.BorderThicknessProperty.AddOwner<TemplatedControl>(); |
|
|
Border.BorderThicknessProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="FontFamilyProperty"/> property.
|
|
|
/// Defines the <see cref="FontFamily"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<string> FontFamilyProperty = |
|
|
public static readonly PerspexProperty<string> FontFamilyProperty = |
|
|
TextBlock.FontFamilyProperty.AddOwner<TemplatedControl>(); |
|
|
TextBlock.FontFamilyProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="FontSizeProperty"/> property.
|
|
|
/// Defines the <see cref="FontSize"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<double> FontSizeProperty = |
|
|
public static readonly PerspexProperty<double> FontSizeProperty = |
|
|
TextBlock.FontSizeProperty.AddOwner<TemplatedControl>(); |
|
|
TextBlock.FontSizeProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="FontStyleProperty"/> property.
|
|
|
/// Defines the <see cref="FontStyle"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<FontStyle> FontStyleProperty = |
|
|
public static readonly PerspexProperty<FontStyle> FontStyleProperty = |
|
|
TextBlock.FontStyleProperty.AddOwner<TemplatedControl>(); |
|
|
TextBlock.FontStyleProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="ForegroundProperty"/> property.
|
|
|
/// Defines the <see cref="Foreground"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<Brush> ForegroundProperty = |
|
|
public static readonly PerspexProperty<Brush> ForegroundProperty = |
|
|
TextBlock.ForegroundProperty.AddOwner<TemplatedControl>(); |
|
|
TextBlock.ForegroundProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="PaddingProperty"/> property.
|
|
|
/// Defines the <see cref="Padding"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<Thickness> PaddingProperty = |
|
|
public static readonly PerspexProperty<Thickness> PaddingProperty = |
|
|
Decorator.PaddingProperty.AddOwner<TemplatedControl>(); |
|
|
Decorator.PaddingProperty.AddOwner<TemplatedControl>(); |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// Defines the <see cref="TemplateProperty"/> property.
|
|
|
/// Defines the <see cref="Template"/> property.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public static readonly PerspexProperty<IControlTemplate> TemplateProperty = |
|
|
public static readonly PerspexProperty<IControlTemplate> TemplateProperty = |
|
|
PerspexProperty.Register<TemplatedControl, IControlTemplate>("Template"); |
|
|
PerspexProperty.Register<TemplatedControl, IControlTemplate>("Template"); |
|
|
|