Sorter(Of T)¶
A reflection-based property comparer used internally to sort tab collections by an arbitrary named property, avoiding a hand-written comparer per sortable property.
Purpose¶
- Compares two instances of
Tby reading a named property via reflection, so any sortable property can be used without a dedicated comparer class.
Context¶
- Namespace:
SAIF.Presentation.Web.Controls.V2 - Assembly/package:
SAIF.Presentation.Web.Controls.V2(packaged inSAIF.BOF.Presentation.Web.Infragistics111.nuspec)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Compare | Public Function Compare(x As T, y As T) As Integer |
Compares x and y by the configured property name, honoring the configured SortOrder. |
Constraints and usage notes¶
- Relies on reflection, so the named property must exist on
Tand be comparable*.
Note: Statements marked with
*were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.
Sources¶
SAIF.Presentation.Web.Controls.V2/SAIFTabBar.vb