Show / Hide Table of Contents

    Class GridControlAction

    Über diese Klasse werden zur Laufzeit die Actions für das Control Grid angeboten.

    Inheritance
    Object
    FrameworkControlActionBase
    FrameworkControlAction
    EditableControlAction
    GridControlAction
    Implements
    IFrameworkControlActionBase
    Inherited Members
    EditableControlAction.SetEnabled(Nullable<Boolean>)
    EditableControlAction.SetFocus()
    FrameworkControlAction.SetForeColor(Nullable<Color>)
    FrameworkControlAction.SetBackColor(Nullable<Color>)
    FrameworkControlAction.SetBorderColor(Nullable<Color>)
    FrameworkControlAction.SetMinWidth(FSint)
    FrameworkControlAction.SetMinWidth(Nullable<Int32>)
    FrameworkControlAction.SetMinHeight(FSint)
    FrameworkControlAction.SetMinHeight(Nullable<Int32>)
    FrameworkControlAction.SetMaxWidth(FSint)
    FrameworkControlAction.SetMaxWidth(Nullable<Int32>)
    FrameworkControlAction.SetMaxHeight(FSint)
    FrameworkControlAction.SetMaxHeight(Nullable<Int32>)
    FrameworkControlAction.SetToolTip(String)
    FrameworkControlAction.SetFontFamily(String)
    FrameworkControlAction.SetFontSize(FSint)
    FrameworkControlAction.SetFontSize(Nullable<Int32>)
    FrameworkControlAction.SetFontBold(FSbool)
    FrameworkControlAction.SetFontBold(Nullable<Boolean>)
    FrameworkControlAction.SetFontItalic(FSbool)
    FrameworkControlAction.SetFontItalic(Nullable<Boolean>)
    FrameworkControlAction.SetFontUnderline(FSbool)
    FrameworkControlAction.SetFontUnderline(Nullable<Boolean>)
    FrameworkControlAction.SetCaption(String)
    FrameworkControlAction.GetDefaultLabel()
    FrameworkControlActionBase.SetVisible(Boolean)
    FrameworkControlActionBase.SetVisible(Nullable<FSVisibility>)
    FrameworkControlActionBase.HidePermanent()
    Namespace: FrameworkSystems.FrameworkControls.Actions
    Assembly: FrameworkSystems.FrameworkControls.dll
    Syntax
    [DocfxBrowsable]
    public class GridControlAction : EditableControlAction, IFrameworkControlActionBase, ISerializable

    Methods

    AddColumn(GridColumnDefinition)

    Fügt dem Grid eine neue Spalte hinzu. Sollte zu dem in der GridColumnDefinition angegebenen Property bereits eine Spalte existieren, so wird eine Exception ausgelöst.

    GetDynamicColumnAction(String)

    Gibt die GridColumnControlAction der zur Laufzeit hinzugefügten Spalte (=dynamische Spalte) für das angegebene Property zurück. Wenn für das Property keine dynamische Spalte existiert, wird null zurück gegeben.

    GetView()

    InsertAfter(GridColumnControlAction, GridColumnControlAction[])

    Verschiebt die Grid-Columns controlsToInsert hinter afterControl.

    InsertAfter(GridColumnControlAction, IEnumerable<GridColumnControlAction>)

    Verschiebt die Grid-Columns controlsToInsert hinter afterControl.

    InsertBefore(GridColumnControlAction, GridColumnControlAction[])

    Verschiebt die Grid-Columns controlsToInsert vor das beforeControl.

    InsertBefore(GridColumnControlAction, IEnumerable<GridColumnControlAction>)

    Verschiebt die Grid-Columns controlsToInsert vor das beforeControl.

    LoadGridLayout(String, Boolean)

    Sendet eine Action an den Client, die ein auf dem Client-Rechner gespeichertes Grid-Layout einliest.

    RedoSortAndFilter()

    RemoveAllDynamicColumns()

    Entfernt alle dynamischen Spalten.

    RemoveColumn(GridColumnControlAction)

    Entfernt die dynamische Spalte, falls sie existiert.

    RemoveColumn(GridColumnDefinition)

    Entfernt die dynamische Spalte zu dem in der GridColumnDefinition angegebenen Property, falls sie existiert.

    RemoveColumn(String)

    Entfernt die dynamische Spalte zu dem in der GridColumnDefinition angegebenen Property, falls sie existiert.

    ResetSortAndFilter()

    SaveGridLayout(String, Boolean)

    Sendet eine Action an den Client, die das Layout des Grids auf dem Client-Rechner speichert.

    ScrollTo(guid)

    ScrollTo(Int32)

    SetCell(guid, Int32)

    Diese Aktion setzt den Fokus in eine Zelle des Grids. Die RowID ist das Property ObjectRowID eines Objekts der Collection. ColumnPos ist die Nummer der Spalte mit 0 beginnend.

    SetCell(guid, String)

    Wie SetCell(guid, Int32). Zusätzlich gibt es hier den Parameter SelectAll, mit dem angegeben werden kann, ob der gesamte Inhalt der Zelle markiert werden soll. Mit true wird der Inhalt markiert und kann direkt überschrieben werden.

    SetCellBackColor(guid, Int32, Color)

    SetCellBackColor(guid, String, Color)

    SetCellEditable(guid, Int32, Boolean)

    Diese Aktion setzt eine Zelle des Grids auf editierbar oder nicht editierbar. Die RowID ist das Property ObjectRowID eines Objekts der Collection. ColumnPos ist die Nummer der Spalte mit 0 beginnend. Ist IsEditable auf true gesetzt, wird die Zelle für Benutzereingaben zugänglich gemacht, bei false wird die Zelle gesperrt.

    SetCellEditable(guid, String, Boolean)

    Diese Aktion setzt eine Zelle des Grids auf editierbar oder nicht editierbar. Die RowID ist das Property ObjectRowID eines Objekts der Collection. columnName ist der Name der Spalte. Ist IsEditable auf true gesetzt, wird die Zelle für Benutzereingaben zugänglich gemacht, bei false wird die Zelle gesperrt.

    SetCellForeColor(guid, Int32, Color)

    SetCellForeColor(guid, String, Color)

    SetColumnCaption(Int32, String)

    Setzt die Spaltenüberschrift der Spalte Nummer ColumnPos auf den Wert value.

    SetColumnCaption(String, String)

    Setzt die Spaltenüberschrift der Spalte ColumnName auf den neuen Wert value.

    SetColumnToolTip(Int32, String)

    SetColumnToolTip(String, String)

    SetColumnVisible(Int32, Boolean)

    Legt fest, ob die Spalte mit der Nummer ColumnPos dargestellt werden soll.

    SetColumnVisible(Int32, Nullable<Boolean>)

    Legt fest, ob die Spalte mit der Nummer ColumnPos dargestellt werden soll.

    SetColumnVisible(String, Boolean)

    Legt fest, ob die Spalte ColumnName dargestellt werden soll.

    SetColumnVisible(String, Nullable<Boolean>)

    Legt fest, ob die Spalte ColumnName dargestellt werden soll.

    SetEditable(Boolean)

    SetGridColor(Color)

    SetGridRowHeight(Int32)

    Legt die Zeilenhöhe der einzelnen Zeilen im Grid fest.

    SetMultiselect(Boolean)

    Diese Methode ermöglicht es während der Laufzeit Mehrfachselektionen am GridControl zuzulassen oder zu verweigern.

    See Also

    GridDesignViewModel
    Back to top Generated by DocFX