C# Class AspNetEdit.UI.PropertyEditors.BaseEditor

Afficher le fichier Open project: mono/aspeditor Class Usage Examples

Protected Properties

Свойство Type Description
parentRow GridRow

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

BaseEditor() public méthode

public BaseEditor ( GridRow parentRow ) : System
parentRow GridRow
Résultat System

GetDisplayWidget() public méthode

Displays the property's current value. Default implementation is simply ToString().
public GetDisplayWidget ( ) : Gtk.Widget
Résultat Gtk.Widget

GetEditWidget() public méthode

Edits the property's value. Must be overridden if InPlaceEdit is true.
public GetEditWidget ( ) : Gtk.Widget
Résultat Gtk.Widget

IsDefaultValue() protected méthode

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
Résultat bool

LaunchDialogue() public méthode

Opens a dialogue box which sets the property's value. Must be overridden if DialogueEdit is true.
public LaunchDialogue ( ) : void
Résultat void

StringValue() protected méthode

A Gtk.Label suitable for returning by GetDisplayWidget (). Handles nulls.
protected StringValue ( object value ) : Gtk.Widget
value object The new property value Label.
Résultat Gtk.Widget

StringValue() protected méthode

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
Résultat Gtk.Widget

Property Details

parentRow protected_oe property

protected GridRow parentRow
Résultat GridRow