C# 클래스 AspNetEdit.UI.PropertyEditors.BaseEditor

파일 보기 프로젝트 열기: mono/aspeditor 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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