Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
i have not getting selection text in WinRT so please help me. In my app i am using flipview but i have not getting copy text and selection text.
By default TextBlock doesn't provide text selection. You can use read only TextBox to show the text which can be selected.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to display this information in a label.
If i put a number in the textbox between 50 and 60, I want the label to show "Good".
I hope someone can help me with this thanks.
At first add one button to your form. Then write below code in click event of your button:
int text = int.Parse(TextBoxName.text);
if(text>50 && text<60)
{
LableName.text="Good";
}
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I want to ask a question. I am getting the data from database and when I write the texbox I want to add nearby entries under the textbox. Like searching on google. Sorry if there is any answer in forum. I don't know how i can search it on google.
It sounds like you want an AutoComplete textbox
http://www.c-sharpcorner.com/uploadfile/dpatra/auto-complete-box-in-wpf-toolkit/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
How do I make a button that allows me to copy like the ctrl+c function.
I want to select a part of a rich text box and when the button is clicked it copies the selected part. With formatting!
On button click event you should do something like:
if (richTextBox1.SelectionLength > 0)
// Copy the selected text to the Clipboard
Clipboard.SetText(richTextBox1.SelectedText, TextDataFormat.Text);
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
Please help me on how to access AutoGenerateColumns property of GridControl in devexpress just like datagridview in normal control of winform.
You will have to do this
gridview1.OptionsBehavior.AutoPopuplateColumns = false;
See this for details AutoPopulateColumns
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions must demonstrate a minimal understanding of the problem being solved. Tell us what you've tried to do, why it didn't work, and how it should work. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
When an event is fired from an element on one tab, how can I have the handler switch the view to a different tab.
I am looking for how to do it in C# code, not xaml. I have done research and cannot find a c# solution.
TabControl.SelectedIndex = <Integer index of the tab you want to display in the 0-based Tab array>