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
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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