OutliningMarginHeaderControl.SetIsExpanded Method
Sets IsExpandedProperty.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Public Shared Sub SetIsExpanded ( _
control As OutliningMarginHeaderControl, _
isExpanded As Boolean _
)
public static void SetIsExpanded(
OutliningMarginHeaderControl control,
bool isExpanded
)
public:
static void SetIsExpanded(
OutliningMarginHeaderControl^ control,
bool isExpanded
)
static member SetIsExpanded :
control:OutliningMarginHeaderControl *
isExpanded:bool -> unit
public static function SetIsExpanded(
control : OutliningMarginHeaderControl,
isExpanded : boolean
)
Parameters
isExpanded
Type: System.Booleantrue if the control is expanded; 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.