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
Afficher le fichier Open project: garyjohnson/wpnest Class Usage Examples

Private Properties

Свойство Type Description
CreateTagButton System.Windows.Controls.Button
OnCancelClicked void
OnRunClicked void
OnTagButtonClicked void
OnTagTouched void
OnTimerTick void
RunTests void

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
OnComplete ( TagExpressionEventArgs e ) : void

Fires the Complete event.

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

Handles the key down event.

Private Methods

Méthode 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 méthode

Fires the Complete event.
protected OnComplete ( TagExpressionEventArgs e ) : void
e TagExpressionEventArgs The event arguments.
Résultat void

OnKeyDown() protected méthode

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

StopTimer() public méthode

Stop the timer.
public StopTimer ( ) : void
Résultat void

TagEditor() public méthode

Initializes a new instance of the TagEditor type.
public TagEditor ( ) : System
Résultat System

TagEditor() public méthode

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

TagEditor() public méthode

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.
Résultat System