C# 클래스 SIL.FieldWorks.LexText.Controls.InsertionControl

This class represents a rule insertion control. A rule insertion control consists of a set of hotlinks that are used to insert various rule items. Rule formula controls provide information about which type of items it is interested in inserting and in what context the hotlinks should be displayed. It provides an Insert event that indicates when a user has attempted to insert an item.
상속: System.Windows.Forms.UserControl, IFWDisposable
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
AddMultiOption ( object option, bool>.Func shouldDisplay, Func displaySuboptions ) : void

Adds an index option. A predicate can be provided to determine what indices to display.

AddOption ( object option, bool>.Func shouldDisplay ) : void

Adds an insertion option. A predicate can be provided to determine in what contexts this insertion option can be displayed.

CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

InsertionControl ( ) : System

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnSizeChanged ( EventArgs e ) : void

비공개 메소드들

메소드 설명
InitializeComponent ( ) : void
UpdateOptionsDisplay ( ) : void
link_LinkClicked ( object sender, LinkLabelLinkClickedEventArgs e ) : void

메소드 상세

AddMultiOption() 공개 메소드

Adds an index option. A predicate can be provided to determine what indices to display.
public AddMultiOption ( object option, bool>.Func shouldDisplay, Func displaySuboptions ) : void
option object
shouldDisplay bool>.Func The should display predicate.
displaySuboptions Func
리턴 void

AddOption() 공개 메소드

Adds an insertion option. A predicate can be provided to determine in what contexts this insertion option can be displayed.
public AddOption ( object option, bool>.Func shouldDisplay ) : void
option object
shouldDisplay bool>.Func The should display predicate.
리턴 void

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

InsertionControl() 공개 메소드

public InsertionControl ( ) : System
리턴 System

OnSizeChanged() 보호된 메소드

protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void