Questions tagged as 'textbox'

1
answer

How to restrict formats in C #

I'm new to programming and I have perhaps a very simple question. I'm doing a hands-on work in college and in 4 textbox the consistencies of the notes should be handled and I wanted to restrict the textbox from accepting that note format ("010")...
asked by 16.02.2017 / 00:26
1
answer

How to keep the scroll always at the end of the WPF textbox

How can I keep scrolling at the end of the textbox? I have a textbox, but it receives a lot of content, and when it arrives at the end it does not follow and text that exceeds, stays in the same place.     
asked by 29.05.2016 / 18:26
1
answer

How to pass listView items to text

I have a listView with some items and columns, I would like to know how to pass everything to a textBox, in the form of text itself. Example: The table: ID NOME IDADE 0 Luis 47 1 Juca 69 In the TextBox: 0 Luis...
asked by 24.01.2016 / 17:41
1
answer

How to get the value of the textbox?

I want to get the value I'm going to write in my textbox . Everything on the same page to then change a table field by the value entered in textbox . <form method="POST" action="#"> <input type=text required name='txt...
asked by 05.11.2014 / 13:39
0
answers

How to do databind to a texbox without assigning it a value?

I have a txtEmail textbox in a Display () method where I give you an email (through a query) and then display it in a user's profile (all ok). txtEmail.Text = item["email"].ToString();//devolve sapo.pt But when I try to edit the value throu...
asked by 23.08.2018 / 18:25
1
answer

How to disable the textchanged event in the load event in Visual Studio C #?

I have the following problem: I have a function that is called when the button triggers the textchanged event only when I start the program for the first time it calls the textchanged function in the load event. I want when the program starts th...
asked by 17.08.2018 / 18:06
1
answer

XAML Textbox Problem for XAML.cs

I have a XAML (Cadastro.xaml) where I made a TextBox and a PasswordBox and named them as txtCpf and txtSenha , until then without any problem. When I'm going to use them in Cadastro.xaml.cs , I can not and the...
asked by 26.06.2018 / 05:13
0
answers

property of a Control (Group)

And create some properties for a TextBox , for example I created lower border for my TextBox using a Label add within TextBox Question: Do I want to know how to group these properties? See my code: Imports Sy...
asked by 12.06.2018 / 14:19
0
answers

Problem updating object properties with data binding

I'm trying to update the properties of an object every time a character is added / removed from the textboxes but I'm not getting it ... I've read several topics on databinding and it seems to be OK ... I'm using the MVVM standard with WPF T...
asked by 23.05.2018 / 20:27
1
answer

Visible Password

I am building a login in asp.net and I want that when clicking the checkbox to show the password it is shown. Design asp page <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <div id="Titulo"...
asked by 04.05.2018 / 13:00