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