C# 클래스 SilverlightFX.UserInterface.Interaction

A class providing various attached properties for creating interactivty.
파일 보기 프로젝트 열기: nikhilk/silverlightfx

공개 프로퍼티들

프로퍼티 타입 설명
ActionProperty System.Windows.DependencyProperty
BehaviorsProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
TriggersProperty System.Windows.DependencyProperty
VisualStateProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetAction ( System.Windows.Controls.Primitives.ButtonBase button ) : System.Windows.Interactivity.TriggerAction

Gets the action associated with the specified Button.

GetBehaviors ( DependencyObject o ) : BehaviorCollection

Gets the collection of behaviors for the specified DependencyObject.

GetCommand ( System.Windows.Controls.Primitives.ButtonBase button ) : string

Gets the command name associated with the specified Button.

GetTriggers ( DependencyObject o ) : System.Windows.Interactivity.TriggerCollection

Gets the collection of triggers for the specified DependencyObject.

GetVisualState ( Control control ) : string

Gets the visual state associated with the specified control.

SetAction ( System.Windows.Controls.Primitives.ButtonBase button, System.Windows.Interactivity.TriggerAction action ) : void

Sets the action associated with the specified Button.

SetBehaviors ( DependencyObject o, BehaviorCollection behaviors ) : void

Sets the collection of behaviors for the specified DependencyObject.

SetCommand ( System.Windows.Controls.Primitives.ButtonBase button, string commandName ) : void

Sets the name of the command associated with the specified Button.

SetTriggers ( DependencyObject o, System.Windows.Interactivity.TriggerCollection triggers ) : void

Sets the collection of triggers for the specified DependencyObject.

SetVisualState ( Control control, string state ) : void

Sets the current visual state of the specified control.

비공개 메소드들

메소드 설명
OnVisualStateChanged ( DependencyObject o, System.Windows.DependencyPropertyChangedEventArgs e ) : void

메소드 상세

GetAction() 공개 정적인 메소드

Gets the action associated with the specified Button.
public static GetAction ( System.Windows.Controls.Primitives.ButtonBase button ) : System.Windows.Interactivity.TriggerAction
button System.Windows.Controls.Primitives.ButtonBase The Button to lookup.
리턴 System.Windows.Interactivity.TriggerAction

GetBehaviors() 공개 정적인 메소드

Gets the collection of behaviors for the specified DependencyObject.
public static GetBehaviors ( DependencyObject o ) : BehaviorCollection
o System.Windows.DependencyObject The DependencyObject to lookup.
리턴 BehaviorCollection

GetCommand() 공개 정적인 메소드

Gets the command name associated with the specified Button.
public static GetCommand ( System.Windows.Controls.Primitives.ButtonBase button ) : string
button System.Windows.Controls.Primitives.ButtonBase The Button to lookup.
리턴 string

GetTriggers() 공개 정적인 메소드

Gets the collection of triggers for the specified DependencyObject.
public static GetTriggers ( DependencyObject o ) : System.Windows.Interactivity.TriggerCollection
o System.Windows.DependencyObject The DependencyObject to lookup.
리턴 System.Windows.Interactivity.TriggerCollection

GetVisualState() 공개 정적인 메소드

Gets the visual state associated with the specified control.
public static GetVisualState ( Control control ) : string
control System.Windows.Controls.Control The control to lookup.
리턴 string

SetAction() 공개 정적인 메소드

Sets the action associated with the specified Button.
public static SetAction ( System.Windows.Controls.Primitives.ButtonBase button, System.Windows.Interactivity.TriggerAction action ) : void
button System.Windows.Controls.Primitives.ButtonBase The Button to associate the action with.
action System.Windows.Interactivity.TriggerAction The action to associate with the button.
리턴 void

SetBehaviors() 공개 정적인 메소드

Sets the collection of behaviors for the specified DependencyObject.
public static SetBehaviors ( DependencyObject o, BehaviorCollection behaviors ) : void
o System.Windows.DependencyObject The DependencyObject to set.
behaviors BehaviorCollection The collection of behaviors to associate.
리턴 void

SetCommand() 공개 정적인 메소드

Sets the name of the command associated with the specified Button.
public static SetCommand ( System.Windows.Controls.Primitives.ButtonBase button, string commandName ) : void
button System.Windows.Controls.Primitives.ButtonBase The Button to associate the command with.
commandName string The name of the command to associated.
리턴 void

SetTriggers() 공개 정적인 메소드

Sets the collection of triggers for the specified DependencyObject.
public static SetTriggers ( DependencyObject o, System.Windows.Interactivity.TriggerCollection triggers ) : void
o System.Windows.DependencyObject The DependencyObject to set.
triggers System.Windows.Interactivity.TriggerCollection The collection of triggers to associate.
리턴 void

SetVisualState() 공개 정적인 메소드

Sets the current visual state of the specified control.
public static SetVisualState ( Control control, string state ) : void
control System.Windows.Controls.Control The control to set.
state string The name of the state that the control should be in.
리턴 void

프로퍼티 상세

ActionProperty 공개적으로 정적으로 프로퍼티

Represents the Action attached property.
public static DependencyProperty,System.Windows ActionProperty
리턴 System.Windows.DependencyProperty

BehaviorsProperty 공개적으로 정적으로 프로퍼티

Represents the Behaviors attached property.
public static DependencyProperty,System.Windows BehaviorsProperty
리턴 System.Windows.DependencyProperty

CommandProperty 공개적으로 정적으로 프로퍼티

Represents the Command attached property.
public static DependencyProperty,System.Windows CommandProperty
리턴 System.Windows.DependencyProperty

TriggersProperty 공개적으로 정적으로 프로퍼티

Represents the Triggers attached property.
public static DependencyProperty,System.Windows TriggersProperty
리턴 System.Windows.DependencyProperty

VisualStateProperty 공개적으로 정적으로 프로퍼티

Represents the VisualState attached property.
public static DependencyProperty,System.Windows VisualStateProperty
리턴 System.Windows.DependencyProperty