ControlSizeTrigger Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A conditional state trigger that functions based on the target control's width or height.
public class ControlSizeTrigger : Windows.UI.Xaml.StateTriggerBase
type ControlSizeTrigger = class
inherit StateTriggerBase
Public Class ControlSizeTrigger
Inherits StateTriggerBase
- Inheritance
-
Windows.UI.Xaml.StateTriggerBaseControlSizeTrigger
Constructors
ControlSizeTrigger() |
Fields
CanTriggerProperty |
Identifies the CanTrigger DependencyProperty. |
MaxHeightProperty |
Identifies the MaxHeight DependencyProperty. |
MaxWidthProperty |
Identifies the MaxWidth DependencyProperty. |
MinHeightProperty |
Identifies the MinHeight DependencyProperty. |
MinWidthProperty |
Identifies the MinWidth DependencyProperty. |
TargetElementProperty |
Identifies the TargetElement DependencyProperty. |
Properties
CanTrigger |
Gets or sets a value indicating whether this trigger will be active or not. |
IsActive |
Gets a value indicating whether the trigger is active. |
MaxHeight |
Gets or sets the max height at which to trigger. This value is exclusive, meaning this trigger could be active if the value is less than MaxHeight. |
MaxWidth |
Gets or sets the max width at which to trigger. This value is exclusive, meaning this trigger could be active if the value is less than MaxWidth. |
MinHeight |
Gets or sets the min height at which to trigger. This value is inclusive, meaning this trigger could be active if the value is >= MinHeight. |
MinWidth |
Gets or sets the min width at which to trigger. This value is inclusive, meaning this trigger could be active if the value is >= MinWidth. |
TargetElement |
Gets or sets the element whose width will observed for the trigger. |