Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the IsSelected value on the specified UIElement.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Shared Sub SetIsSelected ( _
element As UIElement, _
isSelected As Boolean _
)
public static void SetIsSelected(
UIElement element,
bool isSelected
)
public:
static void SetIsSelected(
UIElement^ element,
bool isSelected
)
static member SetIsSelected :
element:UIElement *
isSelected:bool -> unit
public static function SetIsSelected(
element : UIElement,
isSelected : boolean
)
Parameters
- element
Type: System.Windows.UIElement
The element.
- isSelected
Type: System.Boolean
The IsSelected value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.