Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I am creating a derived class of TextBox for numeric data entry. I would like to add 2 buttons at the right side, like the X button in some TextBox controls to increment or decrement the value.
How can I do it?
What you are looking for is a Numeric Updown. See this question for how to implement your own
Where is the WPF Numeric UpDown control?
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I use Stack Column bar in livecharts and when I hover the bar column, Active Tooltip.
But I want to remove percentage.
Thx
Try
yourChart.ToolTip = null;
yourChart.Hoverable = false;
I think you can set the propertie IsWrapped to false. Like in the code :).
<lvc:CartesianChart Series="{Binding SeriesCollection}">
<lvc:CartesianChart.DataTooltip>
<lvc:DefaultTooltip BulletSize="20" Background="Gray" IsWrapped ="false"/>
</lvc:CartesianChart.DataTooltip>
https://lvcharts.net/App/documentation/beta/LiveCharts-Wpf-DefaultTooltip
I hope it works.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
In a GDI+ application on Visual Studio, I want to change the item names of the colors property, which is an array. Right now, I can see them as [0] & [1], which makes it difficult for me to see what they represent. I would prefer to set personalized names for them.
Also, if possible, I would like to disable the ... button on the right of the colorsproperty, where I can add, remove and change the colors.
This is all shown in the picture below.
This is an array, it is named like this. If you want to have names, you could use a tupple or a pair or a dictionnary in your object as a property. In the current state, it is impossible.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I need some control which can change data row or can add new data row in a DataGridView.
You knwo we have two ways: one using the same row of the gridview and second to have some gridcontrol which when we click in the row of the grid expands the control to set data and save t to the grid. And in new data the same. Like in Telerik but using a free control.
Second case it is what I am looking for.
Could you please tell me the best control to do this?
If i understood you correctly, this is what you are looking for.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm trying to code a listbox which you can select multiple items.
ContactResultsData.SelectedItem = ContactResultsData.Items[0];
This code is useful for selecting one item. But I want to multiselect. how can I do? thanks.
note: my selection mode of listbox already is multiselect .
Use collection SelectedItems to add items, remove items or do smth else with selection
ContactResultsData.SelectedItems.Add(ContactResultsData.Items[0]);
ContactResultsData.SelectedItems.Add(ContactResultsData.Items[1]);
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have a PDF with radiogroup field and I want to select programmatically a radio within that radiogroup.
Ayone can help please.
Thanks
In Java: http://itextpdf.com/examples/iia.php?id=122
In C#: http://kuujinbo.info/iTextInAction2Ed/index.aspx?ch=Chapter06&ex=FillDataSheet
It's as simple as this:
form.SetField(key, value);
Where key is the name of your radio field, and value one of the possible values of your radio group. If you don't know which values are possible, take a look at the following example:
Java: http://itextpdf.com/examples/iia.php?id=121
C#: http://kuujinbo.info/iTextInAction2Ed/index.aspx?ch=Chapter06&ex=FormInformation
string[] states = form.GetAppearanceStates(key);