ClassToggleItemActionDescriptor
Class
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Xaml.Common.TreeView
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0", Name = "TreeViewToggleItemActionDescriptor")]
public class ToggleItemActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorToggleItemActionDescriptor
Implements:
Inherited Members
Constructors
ToggleItemActionDescriptor()
Declaration
cs-api-definition
public ToggleItemActionDescriptor()
ToggleItemActionDescriptor(IFrameworkElement, string, ExpandCollapseActionType)
Declaration
cs-api-definition
public ToggleItemActionDescriptor(IFrameworkElement element, string itemText, ExpandCollapseActionType actionType)
Parameters
element
itemText
actionType
Properties
ActionType
Declaration
cs-api-definition
[DataMember(Name = "ActionType")]
[PrimaryProperty]
public ExpandCollapseActionType ActionType { get; set; }
Property Value
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
cs-api-definition
public override string FriendlyDescription { get; }
Property Value
Overrides
Methods
Execute(IApplication)
Declaration
cs-api-definition
public override void Execute(IApplication hostApp)
Parameters
hostApp
Overrides
ToCode()
This method is called when the user requests code generation. The framework initializes the TestMethod property of this object with a new instance that this method simply needs to add its custom codegen to it.
Declaration
cs-api-definition
public override void ToCode()
Overrides