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 Design
WinForms UI Controls