Class MaterialControl
Material control for Material theme.
Inheritance
Namespace: Telerik.Windows.Controls.MaterialControls
Assembly: Telerik.Windows.Controls.dll
Syntax
public class MaterialControl : Control
Constructors
MaterialControl()
Initializes a new instance of the Material
Declaration
public MaterialControl()
Fields
ContentProperty
Identifies the Content dependency property. Default Value: null.
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
System.
|
CornerRadiusProperty
Identifies the Corner
Declaration
public static readonly DependencyProperty CornerRadiusProperty
Field Value
System.
|
IsHighlightedProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsHighlightedProperty
Field Value
System.
|
IsPressedProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsPressedProperty
Field Value
System.
|
IsRippleCenteredProperty
Identifies the key for the Is
Declaration
public static readonly DependencyProperty IsRippleCenteredProperty
Field Value
System.
|
IsRippleEnabledProperty
Identifies the key for the Is
Declaration
public static readonly DependencyProperty IsRippleEnabledProperty
Field Value
System.
|
IsSmartClippedProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsSmartClippedProperty
Field Value
System.
|
RippleBrushProperty
Identifies the Ripple
Declaration
public static readonly DependencyProperty RippleBrushProperty
Field Value
System.
|
RippleOpacityProperty
Identifies the Ripple
Declaration
public static readonly DependencyProperty RippleOpacityProperty
Field Value
System.
|
RippleSizeProperty
Identifies the Ripple
Declaration
public static readonly DependencyProperty RippleSizeProperty
Field Value
System.
|
RippleXProperty
Identifies the Ripple
Declaration
public static readonly DependencyProperty RippleXProperty
Field Value
System.
|
RippleYProperty
Identifies the Ripple
Declaration
public static readonly DependencyProperty RippleYProperty
Field Value
System.
|
ShouldRespectInnerContentProperty
Identifies the Should
Declaration
public static readonly DependencyProperty ShouldRespectInnerContentProperty
Field Value
System.
|
Properties
Content
Gets or sets the Content of the Material
Declaration
public object Content { get; set; }
Property Value
System.
|
CornerRadius
Gets or sets the Corner
Declaration
public CornerRadius CornerRadius { get; set; }
Property Value
System.
|
IsHighlighted
Gets or sets a value indicating whether the MaterialControl should be highlighted (imitating IsMouseOver). This property is intended for and works when the control is nested in a ButtonBase-inheriting class.
Declaration
public bool IsHighlighted { get; set; }
Property Value
System.
|
IsPressed
Gets or sets a value indicating whether the control is pressed.
Declaration
public bool IsPressed { get; set; }
Property Value
System.
|
IsRippleCentered
Gets or sets a value indicating whether the ripple effect originates from the center of the control.
Declaration
public bool IsRippleCentered { get; set; }
Property Value
System.
|
IsRippleEnabled
Gets or sets whether the Ripple is enabled.
Declaration
public bool IsRippleEnabled { get; set; }
Property Value
System.
|
IsSmartClipped
Gets or sets whether the control should be clipped with regard to its Corner
Declaration
public bool IsSmartClipped { get; set; }
Property Value
System.
|
RippleBrush
Gets or sets a Brush for the Ripple.
Declaration
public Brush RippleBrush { get; set; }
Property Value
System.
|
RippleOpacity
Gets or sets the opacity of the Ripple.
Declaration
public double RippleOpacity { get; set; }
Property Value
System.
|
RippleSize
Gets the calculated maximum size of the Ripple.
Declaration
public double RippleSize { get; }
Property Value
System.
|
RippleX
Gets the relative X position of the center of the Ripple.
Declaration
public double RippleX { get; }
Property Value
System.
|
RippleY
Gets the relative Y position of the center of the Ripple.
Declaration
public double RippleY { get; }
Property Value
System.
|
ShouldIgnoreInnerContentPosition
Gets or sets whether the the inner content position should be ignored when Is
Declaration
public bool ShouldIgnoreInnerContentPosition { get; set; }
Property Value
System.
|
Methods
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnKeyUp(KeyEventArgs)
Override for the Control OnKeyUp event handler.
Declaration
protected override void OnKeyUp(KeyEventArgs e)
Parameters
System.
|
OnMouseEnter(MouseEventArgs)
Override for the Control OnMouseEnter event handler.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.
|
OnMouseLeave(MouseEventArgs)
Override for the Control OnMouseLeave event handler.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System. The System. |
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)
Override for the Control OnPreviewMouseLeftButtonDown event handler.
Declaration
protected override void OnPreviewMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.
|
OnRenderSizeChanged(SizeChangedInfo)
Override for the Control OnRenderSizeChanged event handler.
Declaration
protected override void OnRenderSizeChanged(SizeChangedInfo sizeInfo)
Parameters
System. Details of the old and new size involved in the change. |