Show / Hide Table of Contents

Class LayoutColumnViewModel

Class containing the logic the columns in a layout.

Inheritance
object
BindableBase
LayoutColumnViewModel
Implements
INotifyPropertyChanged
Inherited Members
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.Layouts
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class LayoutColumnViewModel : BindableBase, INotifyPropertyChanged

Constructors

View Source

LayoutColumnViewModel()

Initializes a new instance of the LayoutColumnViewModel class.

Declaration
public LayoutColumnViewModel()
View Source

LayoutColumnViewModel(LayoutEditorViewModel, LayoutSectionViewModel)

Initializes a new instance of the LayoutColumnViewModel class.

Declaration
public LayoutColumnViewModel(LayoutEditorViewModel parentEditor, LayoutSectionViewModel parentSection)
Parameters
Type Name Description
LayoutEditorViewModel parentEditor

The Layout Editor this VM is a child of.

LayoutSectionViewModel parentSection

The Layout Section this VM is a child of.

Properties

View Source

HasSelection

Gets or sets a value indicating whether this column currently has the selection in the layout.

Declaration
public bool HasSelection { get; set; }
Property Value
Type Description
bool
View Source

Items

Gets the items that are in the column.

Declaration
public ObservableCollection<LayoutItemBase> Items { get; }
Property Value
Type Description
ObservableCollection<LayoutItemBase>
View Source

SelectedIndex

Gets or sets the currently selected index in the column.

Declaration
public int SelectedIndex { get; set; }
Property Value
Type Description
int
View Source

SelectedItem

Gets or sets the currently selected item in the column.

Declaration
public LayoutItemBase SelectedItem { get; set; }
Property Value
Type Description
LayoutItemBase

Methods

View Source

AddField()

Adds a field to the collection of items.

Declaration
public void AddField()
View Source

AddHeader()

Adds a header to the collection of items.

Declaration
public void AddHeader()
View Source

MoveItemDown()

Moves the selected item down in the column.

Declaration
public void MoveItemDown()
View Source

MoveItemUp()

Moves the selected item up in the column.

Declaration
public void MoveItemUp()
View Source

RemoveColumn()

Removes this column from its parent.

Declaration
public void RemoveColumn()
View Source

RemoveItem()

Removes the currently selected item from the column.

Declaration
public void RemoveItem()
View Source

SetItems(ObservableCollection<LayoutItemBase>)

Sets the items in the column.

Declaration
public void SetItems(ObservableCollection<LayoutItemBase> items)
Parameters
Type Name Description
ObservableCollection<LayoutItemBase> items

The items to be added to the column.

Implements

INotifyPropertyChanged
  • View Source
In this article
Back to top Generated by DocFX