C# Class Microsoft.Silverlight.Testing.Client.TagEditor

The TagEditor control provides a brief user interface allowing for the selection of a set of tests, used to filter the test run.
Inheritance: System.Windows.Controls.UserControl
显示文件 Open project: garyjohnson/wpnest Class Usage Examples

Private Properties

Property Type Description
CreateTagButton System.Windows.Controls.Button
OnCancelClicked void
OnRunClicked void
OnTagButtonClicked void
OnTagTouched void
OnTimerTick void
RunTests void

Public Methods

Method Description
StopTimer ( ) : void

Stop the timer.

TagEditor ( ) : System

Initializes a new instance of the TagEditor type.

TagEditor ( string initialTagExpression ) : System

Initializes a new instance of the TagEditor type.

TagEditor ( string initialTagExpression, IList sampleTags ) : System

Initializes a new instance of the TagEditor type. Also includes a set of sample tags for display to the end user.

Protected Methods

Method Description
OnComplete ( TagExpressionEventArgs e ) : void

Fires the Complete event.

OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

Handles the key down event.

Private Methods

Method Description
CreateTagButton ( string content ) : System.Windows.Controls.Button

Creates a new button.

OnCancelClicked ( object sender, RoutedEventArgs e ) : void

Cancels the selection of a tag expression.

OnRunClicked ( object sender, RoutedEventArgs e ) : void
OnTagButtonClicked ( object sender, RoutedEventArgs e ) : void
OnTagTouched ( object sender, RoutedEventArgs e ) : void
OnTimerTick ( object sender, EventArgs e ) : void

Handle timer ticks.

RunTests ( ) : void

Run the unit tests.

Method Details

OnComplete() protected method

Fires the Complete event.
protected OnComplete ( TagExpressionEventArgs e ) : void
e TagExpressionEventArgs The event arguments.
return void

OnKeyDown() protected method

Handles the key down event.
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs The key event arguments.
return void

StopTimer() public method

Stop the timer.
public StopTimer ( ) : void
return void

TagEditor() public method

Initializes a new instance of the TagEditor type.
public TagEditor ( ) : System
return System

TagEditor() public method

Initializes a new instance of the TagEditor type.
public TagEditor ( string initialTagExpression ) : System
initialTagExpression string The tag expression to use.
return System

TagEditor() public method

Initializes a new instance of the TagEditor type. Also includes a set of sample tags for display to the end user.
public TagEditor ( string initialTagExpression, IList sampleTags ) : System
initialTagExpression string The tag expression to use.
sampleTags IList Sample tags to display.
return System