Interface IContextChoiceController
Provides the functionality for context choice controller.
Namespace: Syncfusion.Windows.Forms.Edit.Interfaces
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public interface IContextChoiceController
Properties
Dropper
Gets or sets the dropping lexem.
Declaration
IRenderedLexem Dropper { get; set; }
Property Value
Type |
---|
IRenderedLexem |
ExtendItemsFilteringString
Gets or sets a value indicating whether autocomplete string should be extended or not.
Declaration
bool ExtendItemsFilteringString { get; set; }
Property Value
Type |
---|
System.Boolean |
FormSize
Gets or sets the size of the context choice form.
Declaration
Size FormSize { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
Images
Gets the collection of the INamedImage items.
Declaration
INamedImagesCollection Images { get; }
Property Value
Type |
---|
INamedImagesCollection |
IsVisible
Gets a value indicating whether context choice window associated with current controller is visible or not.
Declaration
bool IsVisible { get; }
Property Value
Type |
---|
System.Boolean |
Items
Gets the collection of the context choice items.
Declaration
ContextChoiceItemCollection Items { get; }
Property Value
Type |
---|
ContextChoiceItemCollection |
LexemBeforeDropper
Gets or sets the lexem situated before dropper.
Declaration
IRenderedLexem LexemBeforeDropper { get; set; }
Property Value
Type |
---|
IRenderedLexem |
SelectedItem
Gets or sets the currently selected item.
Declaration
IContextChoiceItem SelectedItem { get; set; }
Property Value
Type |
---|
IContextChoiceItem |
UseAutocomplete
Gets or sets a value indicating whether autocomplete technique should be used with current context choice or not.
Declaration
bool UseAutocomplete { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
AddImage(Image)
Adds image to the internal image list.
Declaration
INamedImage AddImage(Image img)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Image | img | The image to be added. |
Returns
Type | Description |
---|---|
INamedImage | Index of the added image. |
AddImage(Image, Color)
Adds image to the internal image list.
Declaration
INamedImage AddImage(Image img, Color transparent)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Image | img | The image to be added. |
System.Drawing.Color | transparent | Transparent color. |
Returns
Type | Description |
---|---|
INamedImage | Index of the added image. |
AddImage(String, Image)
Adds image to the internal image list.
Declaration
INamedImage AddImage(string name, Image img)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the image. Must be unique. |
System.Drawing.Image | img | The image to be added. |
Returns
Type | Description |
---|---|
INamedImage | Index of the added image. |
AddImage(String, Image, Color)
Adds image to the internal image list.
Declaration
INamedImage AddImage(string name, Image img, Color transparent)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the image. Must be unique. |
System.Drawing.Image | img | The image to be added. |
System.Drawing.Color | transparent | Transparent color. |
Returns
Type | Description |
---|---|
INamedImage | Index of the added image. |