Questions tagged [XAML] (254)

2
answers

Why errors occur when you convert a file with vector graphics in XAML?

Rewrite the example from the book "the C programming Language# 7 and platform .NET and .NET Core, 8th ed. Pro Philip Jepix" p. 1057, file conversion with vector graphics in XAML. I opened .svg file using Inkscape program, brought to print, putting Microsoft XPS Document Writer as the printer. The resulting file .oxps has ch...
Narciso.Runolfsson89 asked April 9th 20 at 09:50
1
answer

Inserting special control WPF XAML?

Created a special UserControl, it shoved Label, set up: <UserControl x:Class="CustomDepProp.ShowNumberControl" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://s...
lyda19 asked April 8th 20 at 18:27
1
answer

How to write in XAML the text starting with <?

How to write in XAML the text starting with < ?
adolphus97 asked April 8th 20 at 09:32
1
answer

How to make binding to a property of another class?

There are several radiobuttons that need clicking to change a property (MethodName) in class MethodViewModel on the binding. But, to change the property to execute a method ChangeMethodName, which is located towards the MainViewModel.MethodViewModel.ChangeMethodName, because in the MainWindow.xaml.cs I have written public ...
marisol_Frami5 asked April 7th 20 at 11:25
0
answer

How to change the property of the parent element with the trigger?

Hello. There is an element Expander with a nested PopUp(to top of other elements were), the PopUp is inside a StackPanel with three RadioButton GroupName United one. I will omit some property in code to get to the point were:<Expander Name="MyExpander" ... IsExpanded="False" > < ... PopUp StaysOpen="False" IsOpen=...
Elsie58 asked April 4th 20 at 01:30
4
answers

Is it possible to make apps in wpf?

Good afternoon , I have a question for you . I need to write a program for the registry . Can it be done with WPF or do I have to use WinForms?
hanna asked April 3rd 20 at 16:51
1
answer

Whether to consider uno platform as a serious tool?

Just today I stumbled on uno platform. Searched old network. Write more finished, reliable and faster than Xamarin, WPF, and Blazor. But this is only a review and comparison, perhaps biased. What do you think, is it worth it to me to learn and write on this tool something? And as far as it is stable in pradakshina?
Wava.Little asked April 2nd 20 at 16:53
1
answer

How to invoke the same context menu for each object with the same type?

I know how to call a context menu for an individual item:<Button Content="12345"> <Button.ContextMenu> <ContextMenu Name="cm"> <MenuItem Header="File"/> <MenuItem Header="Save"/> <MenuItem Header="SaveAs"/> <MenuItem Header="Recent Files"> <MenuItem Header="ReadMe.txt"/>...
Buford_Thomps asked April 1st 20 at 16:19
1
answer

How to set minimum width of the button (not its content)?

My button is in the Grid. When I set MinWidth determines the minimum width for a button's content (Content)<Window x:Class="Encryption.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend...
Brent10 asked April 1st 20 at 15:38
1
answer

How in WPF to filter double click on a ListView only with the left button?

Good time of day. Trying to do the filtering double-clicking on a ListVIew only with the left mouse button:<i:Interaction.Triggers> <i:EventTrigger EventName="MouseDoubleClick"> <i:InvokeCommandAction Command="{Binding Edit, Mode=OneWay}"/> </i:EventTrigger> </i:Interaction.Triggers> But at ...
amani.Pfeffer asked March 30th 20 at 00:31