C# Class JustAProgrammer.TeamPilgrim.VisualStudio.Common.AttachedProperties.GridViewSort

Afficher le fichier Open project: StanleyGoldman/TeamPilgrim

Méthodes publiques

Свойство Type Description
AutoSortProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
PropertyNameProperty System.Windows.DependencyProperty
ShowSortGlyphProperty System.Windows.DependencyProperty
SortGlyphAscendingProperty System.Windows.DependencyProperty
SortGlyphDescendingProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
ApplySort ( ICollectionView view, string propertyName, System.Windows.Controls.ListView listView, System.Windows.Controls.GridViewColumnHeader sortedColumnHeader, ListSortDirection overrideListSortDirection = null ) : void
GetAutoSort ( DependencyObject obj ) : bool
GetCommand ( DependencyObject obj ) : ICommand
GetPropertyName ( DependencyObject obj ) : string
GetShowSortGlyph ( DependencyObject obj ) : bool
GetSortGlyphAscending ( DependencyObject obj ) : ImageSource
GetSortGlyphDescending ( DependencyObject obj ) : ImageSource
SetAutoSort ( DependencyObject obj, bool value ) : void
SetCommand ( DependencyObject obj, ICommand value ) : void
SetPropertyName ( DependencyObject obj, string value ) : void
SetShowSortGlyph ( DependencyObject obj, bool value ) : void
SetSortGlyphAscending ( DependencyObject obj, ImageSource value ) : void
SetSortGlyphDescending ( DependencyObject obj, ImageSource value ) : void

Private Methods

Méthode Description
AddSortGlyph ( System.Windows.Controls.GridViewColumnHeader columnHeader, ListSortDirection direction, ImageSource sortGlyph ) : void
ColumnHeader_Click ( object sender, RoutedEventArgs e ) : void
GetSortedColumnHeader ( DependencyObject obj ) : System.Windows.Controls.GridViewColumnHeader
RemoveSortGlyph ( System.Windows.Controls.GridViewColumnHeader columnHeader ) : void
SetSortedColumnHeader ( DependencyObject obj, System.Windows.Controls.GridViewColumnHeader value ) : void

Method Details

ApplySort() public static méthode

public static ApplySort ( ICollectionView view, string propertyName, System.Windows.Controls.ListView listView, System.Windows.Controls.GridViewColumnHeader sortedColumnHeader, ListSortDirection overrideListSortDirection = null ) : void
view ICollectionView
propertyName string
listView System.Windows.Controls.ListView
sortedColumnHeader System.Windows.Controls.GridViewColumnHeader
overrideListSortDirection ListSortDirection
Résultat void

GetAutoSort() public static méthode

public static GetAutoSort ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
Résultat bool

GetCommand() public static méthode

public static GetCommand ( DependencyObject obj ) : ICommand
obj System.Windows.DependencyObject
Résultat ICommand

GetPropertyName() public static méthode

public static GetPropertyName ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Résultat string

GetShowSortGlyph() public static méthode

public static GetShowSortGlyph ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
Résultat bool

GetSortGlyphAscending() public static méthode

public static GetSortGlyphAscending ( DependencyObject obj ) : ImageSource
obj System.Windows.DependencyObject
Résultat ImageSource

GetSortGlyphDescending() public static méthode

public static GetSortGlyphDescending ( DependencyObject obj ) : ImageSource
obj System.Windows.DependencyObject
Résultat ImageSource

SetAutoSort() public static méthode

public static SetAutoSort ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
Résultat void

SetCommand() public static méthode

public static SetCommand ( DependencyObject obj, ICommand value ) : void
obj System.Windows.DependencyObject
value ICommand
Résultat void

SetPropertyName() public static méthode

public static SetPropertyName ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Résultat void

SetShowSortGlyph() public static méthode

public static SetShowSortGlyph ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
Résultat void

SetSortGlyphAscending() public static méthode

public static SetSortGlyphAscending ( DependencyObject obj, ImageSource value ) : void
obj System.Windows.DependencyObject
value ImageSource
Résultat void

SetSortGlyphDescending() public static méthode

public static SetSortGlyphDescending ( DependencyObject obj, ImageSource value ) : void
obj System.Windows.DependencyObject
value ImageSource
Résultat void

Property Details

AutoSortProperty public_oe static_oe property

public static DependencyProperty,System.Windows AutoSortProperty
Résultat System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

public static DependencyProperty,System.Windows CommandProperty
Résultat System.Windows.DependencyProperty

PropertyNameProperty public_oe static_oe property

public static DependencyProperty,System.Windows PropertyNameProperty
Résultat System.Windows.DependencyProperty

ShowSortGlyphProperty public_oe static_oe property

public static DependencyProperty,System.Windows ShowSortGlyphProperty
Résultat System.Windows.DependencyProperty

SortGlyphAscendingProperty public_oe static_oe property

public static DependencyProperty,System.Windows SortGlyphAscendingProperty
Résultat System.Windows.DependencyProperty

SortGlyphDescendingProperty public_oe static_oe property

public static DependencyProperty,System.Windows SortGlyphDescendingProperty
Résultat System.Windows.DependencyProperty