Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (141).NET Core  (21)Angular  (37)ASP.NET  (47)ASP.NET Core  (52)ASP.NET MVC  (84)Azure  (26)Blazor  (42)DocIO  (18)Essential JS 2  (63)Essential Studio  (158)Flutter  (37)JavaScript  (131)Microsoft  (95)PDF  (46)React  (28)Succinctly series  (118)Syncfusion  (370)TypeScript  (30)Uno Platform  (2)UWP  (4)Vue  (24)Webinar  (11)Windows Forms  (52)WPF  (84)Xamarin  (99)XlsIO  (19)Other CategoriesBarcode  (4)BI  (29)Bold BI  (3)Build conference  (6)Business intelligence  (53)Button  (4)C#  (97)Chart  (36)Cloud  (8)Company  (445)Dashboard  (4)Data Science  (3)Data Validation  (2)DataGrid  (25)Development  (232)Doc  (7)eBook  (89)Enterprise  (22)Entity Framework  (4)Essential Tools  (14)Excel  (10)Extensions  (6)File Manager  (3)Gantt  (6)Gauge  (3)Git  (3)Grid  (24)HTML  (8)Installer  (1)Knockout  (2)LINQPad  (1)Linux  (1)M-Commerce  (1)Metro Studio  (11)Mobile  (123)Mobile MVC  (9)OLAP server  (1)Orubase  (12)Partners  (20)PDF viewer  (14)PHP  (1)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (5)Road Map  (9)Scheduler  (12)SfDataGrid  (7)Silverlight  (21)Sneak Peek  (9)Solution Services  (2)Spreadsheet  (2)SQL  (3)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (8)Tips and Tricks  (10)UI  (51)Uncategorized  (69)Unix  (2)User interface  (38)Visual State Manager  (1)Visual Studio  (12)Visual Studio Code  (6)Web  (77)What's new  (44)Windows 8  (19)Windows App  (1)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Share on twitter
Share on facebook
Share on linkedin

Tools Windows Vol 3 Preview – Editors Controls

Customizable Height for ComboBoxAdv

ComboBoxAdv is an advanced combo box control that provides an object model similar to the framework of the ComboBox control, with many additional features. ComboBoxAdv is inherited from ComboBoxBaseDataBound, which is derived from the ComboBoxBase control.

Based on our ComboBoxBase control, ComboBoxAdv pre-binds a list box in its drop-down area and includes some additional APIs to provide a framework combo box-like object model and data-binding support. Written from scratch, this control exposes the text box and the list box controls used internally to let you customize the different parts of the control.

The ComboBoxAdv control has a drop-down text box that is the edit portion of the control. This section will discuss these components in detail in the below topics.

In 2010 Vol. 3, ComboBoxAdv will come with support to customize the height, making more space to display large image and text items.

clip_image002[4]

 

API Added:

 

TextBoxHeight (property)

 

Note:

 

The default behavior to be observed: The text size will be based on the font and not on the item height. Only the image size in the text box will be based on the control size.

 

Example use case:

C#

ComboBoxAdv comboBoxAdv1 = new ComboBoxAdv();
comboBoxAdv1.TextBoxHeight = 50;

VB

Dim comboBoxAdv1 As New ComboBoxAdv()
comboBoxAdv1.TextBoxHeight = 50

 

Tags:

Share this post:

Share on twitter
Share on facebook
Share on linkedin

Leave a comment

Popular Now

Be the first to get updates

Subscribe RSS feed
Scroll To Top