NavigableSymbolSelector Class
Represents a control that contains drop-down lists of accessible symbols (typically types and members) for a document.
[TemplateVisualState(Name = "SelectedRootSymbolActive", GroupName = "RootSymbolStates")]
[TemplateVisualState(Name = "SelectedRootSymbolInactive", GroupName = "RootSymbolStates")]
[TemplateVisualState(Name = "SelectedMemberSymbolActive", GroupName = "MemberSymbolStates")]
[TemplateVisualState(Name = "SelectedMemberSymbolInactive", GroupName = "MemberSymbolStates")]
[TemplateVisualState(Name = "RootDropDown", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "MemberDropDown", GroupName = "DisplayModeStates")]
[TemplateVisualState(Name = "DualDropDown", GroupName = "DisplayModeStates")]
public class NavigableSymbolSelector : Control
- Inheritance:
- object Visual UIElement FrameworkElement Control object
Constructors
NavigableSymbolSelector()
Initializes an instance of the NavigableSymbolSelector class.
public NavigableSymbolSelector()
Properties
AreMemberSymbolsSupported
Gets or sets whether the member symbols drop-down is displayed.
public bool AreMemberSymbolsSupported { get; set; }
Property Value
- bool:
trueif the member symbols drop-down is displayed; otherwise,false. The default value istrue.
AreRootSymbolsSupported
Gets or sets whether the root symbols drop-down is displayed.
public bool AreRootSymbolsSupported { get; set; }
Property Value
- bool:
trueif the root symbols drop-down is displayed; otherwise,false. The default value istrue.
IsInSelectedMemberSymbol
Gets whether the attached SyntaxEditor's caret is within the SelectedMemberSymbol.
public bool IsInSelectedMemberSymbol { get; }
Property Value
- bool:
trueif the attached SyntaxEditor's caret is within the SelectedMemberSymbol; otherwise,false.
IsInSelectedRootSymbol
Gets whether the attached SyntaxEditor's caret is within the SelectedRootSymbol.
public bool IsInSelectedRootSymbol { get; }
Property Value
- bool:
trueif the attached SyntaxEditor's caret is within the SelectedRootSymbol; otherwise,false.
MemberSymbols
Gets the collection of member INavigableSymbol objects.
public IEnumerable<INavigableSymbol> MemberSymbols { get; }
Property Value
- IEnumerable<INavigableSymbol>:
The collection of member INavigableSymbol objects.
RootSymbols
Gets the collection of root INavigableSymbol objects.
public IEnumerable<INavigableSymbol> RootSymbols { get; }
Property Value
- IEnumerable<INavigableSymbol>:
The collection of root INavigableSymbol objects.
SelectedMemberSymbol
Gets or sets the currently-selected INavigableSymbol for a member symbol.
public INavigableSymbol SelectedMemberSymbol { get; set; }
Property Value
- INavigableSymbol:
The currently-selected INavigableSymbol for a member symbol.
SelectedRootSymbol
Gets or sets the currently-selected INavigableSymbol for a root symbol.
public INavigableSymbol SelectedRootSymbol { get; set; }
Property Value
- INavigableSymbol:
The currently-selected INavigableSymbol for a root symbol.
SyntaxEditor
Gets or sets the SyntaxEditor to monitor.
public SyntaxEditor SyntaxEditor { get; set; }
Property Value
- SyntaxEditor:
The SyntaxEditor to monitor.
Methods
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate.
public override void OnApplyTemplate()
OnRender(DrawingContext)
Occurs when the element is rendered.
protected override void OnRender(DrawingContext drawingContext)
| Parameter | Type | Description |
|---|---|---|
| drawingContext | DrawingContext | The DrawingContext to use. |
Fields
AreMemberSymbolsSupportedProperty
Identifies the AreMemberSymbolsSupported dependency property. This field is read-only.
public static readonly DependencyProperty AreMemberSymbolsSupportedProperty
AreRootSymbolsSupportedProperty
Identifies the AreRootSymbolsSupported dependency property. This field is read-only.
public static readonly DependencyProperty AreRootSymbolsSupportedProperty
IsInSelectedMemberSymbolProperty
Identifies the IsInSelectedMemberSymbol dependency property key. This field is read-only.
public static readonly DependencyProperty IsInSelectedMemberSymbolProperty
IsInSelectedRootSymbolProperty
Identifies the IsInSelectedRootSymbol dependency property key. This field is read-only.
public static readonly DependencyProperty IsInSelectedRootSymbolProperty
MemberSymbolsProperty
Identifies the MemberSymbols dependency property key. This field is read-only.
public static readonly DependencyProperty MemberSymbolsProperty
RootSymbolsProperty
Identifies the RootSymbols dependency property key. This field is read-only.
public static readonly DependencyProperty RootSymbolsProperty
SelectedMemberSymbolProperty
Identifies the read-only SelectedMemberSymbol dependency property. This field is read-only.
public static readonly DependencyProperty SelectedMemberSymbolProperty
SelectedRootSymbolProperty
Identifies the read-only SelectedRootSymbol dependency property. This field is read-only.
public static readonly DependencyProperty SelectedRootSymbolProperty
SyntaxEditorProperty
Identifies the SyntaxEditor dependency property. This field is read-only.
public static readonly DependencyProperty SyntaxEditorProperty