This project is read-only.

UITestExtensions.Unit_Toggle (System.Windows.Controls.Primitives.ToggleButton)

Function Togglet status ToggleButtons

Namespace:SoftHai.Testing.UITest
Assembly:SoftHai.Testing

Syntax

Visual Basic
<ExtensionAttribute()> _
Public Sub Unit_Toggle( _
	ByVal TB As System.Windows.Controls.Primitives.ToggleButton _
)
C#
[ExtensionAttribute()]
public void Unit_Toggle(
	this System.Windows.Controls.Primitives.ToggleButton TB
)

Parameter

TB
Type:System.Windows.Controls.Primitives.ToggleButton
News ToggleButton Control

Remarks

Example

First, the namespace is imported, so that the extension methods are available:
C#
using SoftHai.Testing.UITest;
Visual Basic
Imports SoftHai.Testing.UITest
Subsequently, the extension method be used as follows:
C#
CheckBox CB = new CheckBox();
...
CB.Unit_Toggle();
Visual Basic
Dim CB as new CheckBox()
...
CB.Unit_Toggle()




This WikiPage was created with Codeplex WikiEditor

Last edited Jul 19, 2010 at 11:12 AM by SoftHai, version 1

Comments

No comments yet.