ControlSizeTrigger Class

Definition

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.StateTriggerBase
ControlSizeTrigger

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.

Applies to