In This Article

IBarGalleryItemViewModel Interface

Represents a view model for a gallery item within a bar gallery control.

public interface IBarGalleryItemViewModel : IEquatable<IBarGalleryItemViewModel>

Properties

Category

The item's category.

string? Category { get; set; }

Property Value

string

Description

The text description to display in screen tips.

string? Description { get; set; }

Property Value

string

Icon

The value representing the icon to display, if the item's template supports an icon.

object? Icon { get; set; }

Property Value

object

IsLabelVisible

Indicates whether the Label is visible.

bool IsLabelVisible { get; }

Property Value

bool

IsVisible

Indicates whether the control is currently visible.

bool IsVisible { get; }

Property Value

bool

KeyTipText

The key tip text used to access the control.

string? KeyTipText { get; set; }

Property Value

string

Label

The text label to display.

string? Label { get; set; }

Property Value

string

LayoutBehavior

A BarGalleryItemLayoutBehavior indicating how the gallery item should be visually displayed.

BarGalleryItemLayoutBehavior LayoutBehavior { get; }

Property Value

BarGalleryItemLayoutBehavior:

The default value is Default.

Value

The value associated with this view model.

object? Value { get; set; }

Property Value

object

Inherited Members

Extension Methods