Custom Blocks Creating in C# with Editors WinForms Control
The Kettic Auto Completion Box Control is designed for .NET UI Designers to easily fill in text. This functionality resembles the behavior of To field of the Outlook, in which users can fill in the recipients to send a new message. There are various powerful features of the Auto Completion Box Control, such as the different layout modes, auto-complete in bound and unbound mode of Outlook style, theming mechanism and customizable appearance, selection and navigation, localizable context menu, and flexible and intuitive API.
C# Code for Creating Custom Blocks
In addition to support customizing appearance via the formatting event, the Kettic Auto Completion Box Control is also capable of replacing the default UI block representation. It is achieved by using the event, CreateTextBlock. To create custom text blocks, .NET developers need to create a block to inherit all features of ITextBlock and Element. The following are C# code that shows how to extend the default Element of Tokenized Text Block through adding a check box.
Now we can use the following C# code to replace the default text block in the event handler, CreateTextBlock
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI Control AutoCompleteBoxBox Get Started in C#Text EditingModesFormat BlocksCustom BlocksEditor Browse EditorEditor Color BoxEditor Date Time PickerGet Started in C#C# PropertiesEditor MaskedEditBoxGet Started in C#C# PropertyEditor TextBoxGet Started in C#Add Buttons in C#Editor TextBoxControlGet Started in C#Caret Position and SelectionText EditingAuto CompleteFormat BlocksCustom BlocksEditor Time PickerGet Started in C#Time Picker - PropertiesTime Picker - CustomizationTime Picker - LocalizationForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |