In This Article

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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.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

System.Boolean:

true if the member symbols drop-down is displayed; otherwise, false. The default value is true.

AreRootSymbolsSupported

Gets or sets whether the root symbols drop-down is displayed.

public bool AreRootSymbolsSupported { get; set; }

Property Value

System.Boolean:

true if the root symbols drop-down is displayed; otherwise, false. The default value is true.

IsInSelectedMemberSymbol

Gets whether the attached SyntaxEditor's caret is within the SelectedMemberSymbol.

public bool IsInSelectedMemberSymbol { get; }

Property Value

System.Boolean:

true if 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

System.Boolean:

true if 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

System.Collections.Generic.IEnumerable<INavigableSymbol>:

The collection of member INavigableSymbol objects.

RootSymbols

Gets the collection of root INavigableSymbol objects.

public IEnumerable<INavigableSymbol> RootSymbols { get; }

Property Value

System.Collections.Generic.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 System.Windows.Media.DrawingContext

The System.Windows.Media.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

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()

Extension Methods