C# Класс AspNetEdit.UI.PropertyEditors.BaseEditor

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
parentRow GridRow

Открытые методы

Метод Описание
BaseEditor ( GridRow parentRow ) : System
GetDisplayWidget ( ) : Gtk.Widget

Displays the property's current value. Default implementation is simply ToString().

GetEditWidget ( ) : Gtk.Widget

Edits the property's value. Must be overridden if InPlaceEdit is true.

LaunchDialogue ( ) : void

Opens a dialogue box which sets the property's value. Must be overridden if DialogueEdit is true.

Защищенные методы

Метод Описание
IsDefaultValue ( ) : bool

Checks whether the current value of this property is the default value. Use to decide whether to make value bold to indicate this.

StringValue ( object value ) : Gtk.Widget

A Gtk.Label suitable for returning by GetDisplayWidget (). Handles nulls.

StringValue ( string value, bool markup ) : Gtk.Widget

A Gtk.Label suitable for returning by GetDisplayWidget(). Handles nulls.

Описание методов

BaseEditor() публичный Метод

public BaseEditor ( GridRow parentRow ) : System
parentRow GridRow
Результат System

GetDisplayWidget() публичный Метод

Displays the property's current value. Default implementation is simply ToString().
public GetDisplayWidget ( ) : Gtk.Widget
Результат Gtk.Widget

GetEditWidget() публичный Метод

Edits the property's value. Must be overridden if InPlaceEdit is true.
public GetEditWidget ( ) : Gtk.Widget
Результат Gtk.Widget

IsDefaultValue() защищенный Метод

Checks whether the current value of this property is the default value. Use to decide whether to make value bold to indicate this.
protected IsDefaultValue ( ) : bool
Результат bool

LaunchDialogue() публичный Метод

Opens a dialogue box which sets the property's value. Must be overridden if DialogueEdit is true.
public LaunchDialogue ( ) : void
Результат void

StringValue() защищенный Метод

A Gtk.Label suitable for returning by GetDisplayWidget (). Handles nulls.
protected StringValue ( object value ) : Gtk.Widget
value object The new property value Label.
Результат Gtk.Widget

StringValue() защищенный Метод

A Gtk.Label suitable for returning by GetDisplayWidget(). Handles nulls.
protected StringValue ( string value, bool markup ) : Gtk.Widget
value string The new property value Label.
markup bool Whether to use GTK markup on the label
Результат Gtk.Widget

Описание свойств

parentRow защищенное свойство

protected GridRow parentRow
Результат GridRow