IntraTextAdornment.GetIsSelected Method
Gets 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
'宣言
Public Shared Function GetIsSelected ( _
element As UIElement _
) As Boolean
public static bool GetIsSelected(
UIElement element
)
public:
static bool GetIsSelected(
UIElement^ element
)
static member GetIsSelected :
element:UIElement -> bool
public static function GetIsSelected(
element : UIElement
) : boolean
Parameters
- element
Type: System.Windows.UIElement
The element.
Return Value
Type: System.Boolean
true if the element is selected, otherwise false.
.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.