I have a UWP application that uses several TextBox to collect user information:
<Grid>
<TextBox Text="{Binding Codigo}"></TextBox>
<TextBox Text="{Binding Producto}"></TextBox>
<TextBox Text=...
My problem is that I am trying to bind between a ComboBox and a property type string in viewModel, but I can not do it
<ComboBox HorizontalAlignment="Stretch"
SelectedItem="{Binding Path=OResultado, Mode=TwoWay}">...
If I add a RadioButton control and specify a property in the ViemModel , I can do the Binding normally, but if I have a list of objects and create a RadioButton for each object in the list, does it? how is it done so t...
I have a problem trying to create a form within a Hub in a UWP application.
<Hub>
<HubSection>
<Datatemplate>
<Grid>
<TextBox x:Name="txtSerial"/>
</Grid>
</Datatemplat...
I'm using this code to generate a ComboBox but on the screen I get " choose an item " I want to change it.
<ComboBox x:Name="Tempso"
HorizontalAlignment="Left"
Height="55"
Margin="70,243,0,0"...
I have this combobox in XAML:
<ComboBox x:Name="Tempos"
HorizontalAlignment="Left"
Height="55"
Margin="90,216,0,0"
VerticalAlignment="Top"
Width="205" SelectionChang...
How can I convert a Control to UIElement in Windows forms with c # ?
I'm extracting Controls from FlowLayoutPanel with Controls but I want to convert them to UIElement
I have a collection of objects that have a collection of other objects in the following way:
public class Elemento
{
public string Nombre {get; set;}
public ObservableCollection<OtroObjeto> Lista {get; set;}
}
In WPF, I link...
I have a question, is it correct to initialize a property full in ViewModel as follows?
public class MainViewModel : ViewModelBase
{
private ObservableCollection<Driver> _drivers = new ObservableCollection<Driver>...
I have made the following part of the interface
But when you start the application, you change your position and the following is left
the magnifying glass is an icon in Button that is placed over a TextBox
the code of the th...