Class VisualsSelectedEventArgs
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
Provides event data for the VisualsSelected event of the SelectionCommand.
public class VisualsSelectedEventArgs : EventArgs
- Inheritance
-
VisualsSelectedEventArgs
- Derived
- Inherited Members
Constructors
VisualsSelectedEventArgs(IList<Visual3D?>, bool)
Initializes a new instance of the VisualsSelectedEventArgs class.
public VisualsSelectedEventArgs(IList<Visual3D?> selected, bool areSortedByDistanceAscending)
Parameters
selectedIList<Visual3D>The selected.
areSortedByDistanceAscendingboolif set to
truethe selected visuals are sorted by distance in ascending order.
Properties
AreSortedByDistanceAscending
Gets a value indicating whether the selected visuals are sorted by distance in ascending order.
public bool AreSortedByDistanceAscending { get; }
Property Value
- bool
trueif the selected visuals are sorted by distance in ascending order; otherwise,false.
SelectedVisuals
Gets the selected visuals.
public IList<Visual3D?> SelectedVisuals { get; }