Show / Hide Table of Contents

Class LayoutSectionViewModel

Contains the logic for the Layout Section View Model

Inheritance
object
BindableBase
LayoutSectionViewModel
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 LayoutSectionViewModel : BindableBase, INotifyPropertyChanged

Constructors

View Source

LayoutSectionViewModel()

Initializes a new instance of the LayoutSectionViewModel class.

Declaration
public LayoutSectionViewModel()
View Source

LayoutSectionViewModel(LayoutEditorViewModel)

Initializes a new instance of the LayoutSectionViewModel class.

Declaration
public LayoutSectionViewModel(LayoutEditorViewModel parent)
Parameters
Type Name Description
LayoutEditorViewModel parent

The parent editor of this section.

Properties

View Source

AttachmentSectionHeader

Gets or sets the header to use if this section is for attachments.

Declaration
public string AttachmentSectionHeader { get; set; }
Property Value
Type Description
string
View Source

Columns

Gets the columns in this section.

Declaration
public ObservableCollection<LayoutColumnViewModel> Columns { get; }
Property Value
Type Description
ObservableCollection<LayoutColumnViewModel>
View Source

HasSelection

Gets or sets a value indicating whether this section currently has selection.

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

IsAttachmentSection

Gets or sets a value indicating whether this section is for attachments.

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

SelectedColumn

Gets or sets the selected column.

Declaration
public LayoutColumnViewModel SelectedColumn { get; set; }
Property Value
Type Description
LayoutColumnViewModel
View Source

SelectedColumnIndex

Gets the index of the currently selected column.

Declaration
public int SelectedColumnIndex { get; }
Property Value
Type Description
int

Methods

View Source

AddColumn()

Adds a column to the section.

Declaration
public void AddColumn()
View Source

AddField()

Adds a field to the selected column.

Declaration
public void AddField()
View Source

AddHeader()

Adds a header to the selected column.

Declaration
public void AddHeader()
View Source

MoveColumnItemDown()

Moves selected item down in a column.

Declaration
public void MoveColumnItemDown()
View Source

MoveColumnItemUp()

Moves selected item up in a column.

Declaration
public void MoveColumnItemUp()
View Source

MoveItemToColumn(int)

Moves the selected item to the specified column.

Declaration
public void MoveItemToColumn(int indexOfColumnToMoveTo)
Parameters
Type Name Description
int indexOfColumnToMoveTo

Index of the column to move the item to.

View Source

ProcessDeselection()

Handles when this section is deselected.

Declaration
public void ProcessDeselection()
View Source

RemoveColumn(LayoutColumnViewModel)

Removes a column from this section.

Declaration
public void RemoveColumn(LayoutColumnViewModel columnToRemove)
Parameters
Type Name Description
LayoutColumnViewModel columnToRemove

The column to remove from the section.

View Source

RemoveColumnItem()

Removes selected item from a column.

Declaration
public void RemoveColumnItem()
View Source

RemoveSection()

Removes this section from it's parent.

Declaration
public void RemoveSection()

Implements

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