C# Class Fluent.GalleryPanel

Represents panel for Gallery, InRibbonGallery, ComboBox with grouping and filtering capabilities
Inheritance: System.Windows.Controls.VirtualizingStackPanel
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
FilterProperty System.Windows.DependencyProperty
GroupByProperty System.Windows.DependencyProperty
GroupStyleProperty System.Windows.DependencyProperty
IsGroupedProperty System.Windows.DependencyProperty
ItemContainerGeneratorProperty System.Windows.DependencyProperty
ItemHeightProperty System.Windows.DependencyProperty
ItemWidthProperty System.Windows.DependencyProperty
MaxItemsInRowProperty System.Windows.DependencyProperty
MinItemsInRowProperty System.Windows.DependencyProperty
OrientationProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
GalleryPanel ( ) : System

Default constructor

GetActualMinWidth ( int minItemsInRow ) : double

Gets actual min width of the gallery panel (based on MinItemsInRow)

GetItemSize ( ) : Size

Determinates item's size (return Size.Empty in case of it is not possible)

Méthodes protégées

Méthode Description
ArrangeOverride ( System finalSize ) : Size

When overridden in a derived class, positions child elements and determines a size for a derived class.

GetVisualChild ( int index ) : Visual

Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.

MeasureOverride ( System availableSize ) : Size

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the derived class.

OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void

Invoked when the VisualCollection of a visual object is modified.

Private Methods

Méthode Description
GetPropertyValueAsString ( object item ) : string
Invalidate ( ) : void
InvalidateArrangeRecursive ( UIElement visual ) : void
InvalidateMeasureRecursive ( UIElement visual ) : void
OnFilterChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnGroupByChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnIsGroupedChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnItemContainerGeneratorChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
Refresh ( ) : void
RefreshDispatchered ( ) : void

Method Details

ArrangeOverride() protected méthode

When overridden in a derived class, positions child elements and determines a size for a derived class.
protected ArrangeOverride ( System finalSize ) : Size
finalSize System The final area within the parent that this /// element should use to arrange itself and its children.
Résultat System.Windows.Size

GalleryPanel() public méthode

Default constructor
public GalleryPanel ( ) : System
Résultat System

GetActualMinWidth() public méthode

Gets actual min width of the gallery panel (based on MinItemsInRow)
public GetActualMinWidth ( int minItemsInRow ) : double
minItemsInRow int
Résultat double

GetItemSize() public méthode

Determinates item's size (return Size.Empty in case of it is not possible)
public GetItemSize ( ) : Size
Résultat System.Windows.Size

GetVisualChild() protected méthode

Overrides System.Windows.Media.Visual.GetVisualChild(System.Int32), and returns a child at the specified index from a collection of child elements.
protected GetVisualChild ( int index ) : Visual
index int The zero-based index of the requested /// child element in the collection
Résultat Visual

MeasureOverride() protected méthode

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the derived class.
protected MeasureOverride ( System availableSize ) : Size
availableSize System The available size that this element can give /// to child elements. Infinity can be specified as a value to indicate that /// the element will size to whatever content is available.
Résultat System.Windows.Size

OnVisualChildrenChanged() protected méthode

Invoked when the VisualCollection of a visual object is modified.
protected OnVisualChildrenChanged ( DependencyObject visualAdded, DependencyObject visualRemoved ) : void
visualAdded System.Windows.DependencyObject The Visual that was added to the collection.
visualRemoved System.Windows.DependencyObject The Visual that was removed from the collection.
Résultat void

Property Details

FilterProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Filter. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows FilterProperty
Résultat System.Windows.DependencyProperty

GroupByProperty public_oe static_oe property

Using a DependencyProperty as the backing store for GroupBy. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows GroupByProperty
Résultat System.Windows.DependencyProperty

GroupStyleProperty public_oe static_oe property

Using a DependencyProperty as the backing store for GroupHeaderStyle. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows GroupStyleProperty
Résultat System.Windows.DependencyProperty

IsGroupedProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsGrouped. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsGroupedProperty
Résultat System.Windows.DependencyProperty

ItemContainerGeneratorProperty public_oe static_oe property

Using a DependencyProperty as the backing store for ItemContainerGenerator. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ItemContainerGeneratorProperty
Résultat System.Windows.DependencyProperty

ItemHeightProperty public_oe static_oe property

Using a DependencyProperty as the backing store for ItemHeight. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ItemHeightProperty
Résultat System.Windows.DependencyProperty

ItemWidthProperty public_oe static_oe property

Using a DependencyProperty as the backing store for ItemWidth. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows ItemWidthProperty
Résultat System.Windows.DependencyProperty

MaxItemsInRowProperty public_oe static_oe property

Using a DependencyProperty as the backing store for ItemsInRow. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MaxItemsInRowProperty
Résultat System.Windows.DependencyProperty

MinItemsInRowProperty public_oe static_oe property

Using a DependencyProperty as the backing store for ItemsInRow. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows MinItemsInRowProperty
Résultat System.Windows.DependencyProperty

OrientationProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Orientation. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows OrientationProperty
Résultat System.Windows.DependencyProperty