I´d like to know how can I programmatically set a tooltip on disabled buttons.
I think the ToolTipService.ShowOnDisabled attached property will do what you're looking for.
Related
I want to make active tab text bold , tabs are DevExpress xtraTabs
So, wherever the DevExpress XTraTabs are used, make the text of active tab bold.
Set this property once and not everywhere.How to achieve this?
You can set the tabcontrol's ApperancePage.HeaderActive.Font.Bold property value to true.
Hi in vaadin combobox i have only one item added which is in select by default.
So now there is no need in drop down option.
Is there any way to disable dropdown option in combobox?
Regards,
Vignesh
You can try setting the combobox to read-only or disabled if it only has one option. combobox.setReadOnly(true) will make it look like a label while combobox.setEnabled(false) will grey it out and disable the dropdown.
Well, what do you want to show instead? Just a Label? Then check if the container-size you add to the combobox is 1 and show a Label with the only "option" instead.
I have a ListBox that has items that should not be selectable because they are disabled. I accomplished this by binding the IsEnabled property which disabled the item. However, I need to be able to display a popup that shows the reason why it's disabled when the user clicks on the disabled item. What is the best practice for accomplishing something like this?
you can do it this way:
create an hidden transparent control above the listBox. make this control visible when listbox gets invisble. register to MouseDown on this control which will show the popup etc...
I want to be able to allow a user to set a module as a Favorite by toggling a star icon that is placed on each tab. Is this possible using Infragistics XamTabs?
The technique you want to use is to template the tab header. You should create a style that targets the TabItemEx and provide a HeaderTemplate.
In my sample I added a Radio Button and an Image to the header which are bound to an IsFavorite property in my viewmodel causing the image to be visible when the radio button is checked. The VisConverter converter is being used to toggle the visibility property of the image.
See more details and my sample here.
http://community.infragistics.com/forums/p/67815/344088.aspx#344088
I would like to create a combobox without any textbox and with a customizable icon in the button that opens the combobox. Something like this image (forget about the checkboxs)
I don't need you to post the solution, just some directions or resources so I can know how to begin this customization.
TIA
ContextMenuStrip which you manually display in the button's Click handler.