Questions tagged as 'wpf'

1
answer

Mask for a datepicker field in an application [duplicate]

I have an application in wpf, so there are windows that have fields for date types, I put those fields with datepicker where there is a calendar for choosing the date. So far so good, what I could not get by is a mask to stay like this "00/...
asked by 06.03.2015 / 15:51
1
answer

How to limit characters in a textbox

How to limit the amount of characters in a Textbox in xaml and via code behind ?     
asked by 24.12.2014 / 13:39
2
answers

Focus on open window

I have a wpf application with several buttons that open other windows off the main system. I call them through: .Show (); .Focus (); If the user clicked on the button several times open, I fixed this by placing a global variable that op...
asked by 03.03.2015 / 12:38
1
answer

Error Entity Framework WPF Client

I installed my application in the client environment, but I'm getting the following error: Nome do Evento de Problema: CLR20r3 Assinatura do Problema 01: eLogBook.exe Assinatura do Problema 02: 1.0.0.0 Assinatura do Problema 03:...
asked by 10.02.2018 / 01:17
1
answer

SelectionBrush property only the border and no fill

You can make the property SelectionBrush equal to the image below: Becausesheisnowlikethis: Followthecodebelow:<TextBoxSelectionBrush="Red" FontSize="12pt"/> I just want the border and no matching fill in the first image, can...
asked by 05.08.2018 / 17:00
1
answer

Select Rows from a DataGrid and send to an Array

I have an application in WPF where I have a DataGrid with various information. I would like the user to be able to choose multiple rows and store the row information in an array (or not) so I can send it to another screen and play in an...
asked by 09.06.2015 / 17:30
1
answer

How to have a result by mixing checkboxes?

How can I combine results from checkbox ? With 5 checkbox , for example, how do I make the result be combined for when the user selects 5 and 3 a messenger box appears. Ps: If the question is vague, let me know     
asked by 12.05.2017 / 12:54
4
answers

C # WPF How to separate a long string in multiple positions from an Array?

I need to create a getter and a setter for 14 Model properties that will be used to make Binding on xaml. Properties come from here: I have a field from a database table where it loads a very long string that contains information for 14 textboxe...
asked by 17.07.2017 / 18:17
0
answers

How to do this in WPF?

Textbox: <TextBox x:Name="tbSearch" Margin="18,48.999,888,0" Width="200" Background="#FF740587" HorizontalAlignment="Left" FontSize="16" FontFamily="Arial" Height="25" VerticalAlignment="Top" Grid.Column="1" Text="Search" Foreground="Mocca...
asked by 30.12.2018 / 23:38
1
answer

How to format a Label using StringFormat in Xamarin Forms

I'm creating a solution where I should display an integer in a <Label /> . To do this I'm using the code below: public partial class Home : ContentPage { public Home() { InitializeComponent(); BindingContext =...
asked by 09.10.2018 / 16:42