XamlList.PropertyNames Class

Contains property names of XamlList.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlList.PropertyNames

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly:  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class PropertyNames _
    Inherits XamlControl.PropertyNames
[CLSCompliantAttribute(true)]
public abstract class PropertyNames : XamlControl.PropertyNames
[CLSCompliantAttribute(true)]
public ref class PropertyNames abstract : public XamlControl::PropertyNames
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type PropertyNames =  
    class 
        inherit XamlControl.PropertyNames 
    end
public abstract class PropertyNames extends XamlControl.PropertyNames

The XamlList.PropertyNames type exposes the following members.

Constructors

  Name Description
Protected method XamlList.PropertyNames Initializes a new instance of the XamlList.PropertyNames class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to the current instance. (Inherited from UITestControl.PropertyNames.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from UITestControl.PropertyNames.)
Public method GetType Returns the Type of the control. (Inherited from UITestControl.PropertyNames.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string representation of this instance. (Inherited from UITestControl.PropertyNames.)

Top

Fields

  Name Description
Public fieldStatic member IsMultipleSelection Gets a value indicating whether the list supports multi-selection Data-Type: System.Boolean
Public fieldStatic member Items Gets the collection of child list items of the list. Data-Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection
Public fieldStatic member SelectedIndices Gets or sets the indices of the selected items of the list. Data-Type: System.Int32[]
Public fieldStatic member SelectedItems Gets or sets the list of selected items of the list. Data-Type: System.String[]
Public fieldStatic member SelectedItemsAsString Gets or sets the selected items of the list in a comma seperated format. Data-Type: System.String

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls Namespace