Most voted "xaml" questions
Extensible Application Markup Language (XAML) is a declarative language in the XML standard used to define user interfaces in WPF, Silverlight, Windows Phone, and Windows Store. This tag can be used with any technology that uses XAML, but should not be used when XAML is not part of the problem.
Learn more…137 questions
Sort by count of
-
0
votes1
answer68
viewsHow do I get information from the drives by c#?
Good afternoon, I was asked to carry out a project that can fetch information from drives (C:, D:, etc), such as how many drives there are, the name of each one, the total space and the used. But I…
-
0
votes0
answers61
viewsHow to change the color and positioning of two Labels side by side in XAML?
<Label> <Label.FormattedText> <FormattedString> <Span Text="R$" FontAttributes="Bold" FontSize="Large"/> <Span x:Name="CalculoParcial" …
-
0
votes1
answer81
viewsRun something after an animation - WPF
I have the following animation when I start my project: public ConfigInicial_Empresa() { InitializeComponent(); brush = (Brush)bc.ConvertFrom("#444"); window.Background = brush; DoubleAnimation…
-
0
votes1
answer52
viewsSelectionbrush property with only edge and no padding
It is possible to make the property SelectionBrush same as the image below: 'Cause she’s like this now: Follows code: <TextBox SelectionBrush="Red" FontSize="12pt"/> I want it only the border…
-
0
votes1
answer50
viewsHow to Make a Help Balloon in WPF?
I am developing a WPF application, and in it, I need each Label to have an Informative Balloon, as example, Name* (full name); Could anyone help me? I would like to do in pure WPF, but if not, there…
-
0
votes1
answer85
viewsC# Wpf Passwordbox want to spy the password
Good evening, I have some Passwordbox and would like to add buttons to spy this password when the user needs it, I tried to invoke the Passwordrevealmode inside the Passwordbox, however it does not…
-
0
votes0
answers32
viewsVisual Studio - Xaml expanding alone
Visual Studio 2019. When I type "<" to include a new component, all of the tags below are expanding, probably by generating an unopened tag error, how to solve this problem so my code doesn’t…
-
0
votes0
answers11
viewshow to organize an 8x4 rectangle table so that it is possible to add row by row of 4 columns
I’m having doubts about how to add a line of 4 colors, line by line: As shown: At each push of a button. using System.Collections.Generic; using System.Linq; using System.Text; using…
-
0
votes1
answer97
viewsDialog messages launched from Viewmodel through Dialogcoordinator
I came across a problem working on a WPF project where I use "MVVM Light Toolkit" and "Mahapps.Metro". I am trying to take advantage of the "Dialogcoordinator" feature provided by "Mahapps.Metro" to…
-
0
votes1
answer210
viewsIntellisense Xamarin Forms does not work - Visual Studio Enterprise with Update 3
I installed VS with Xamarin but Intellisense in XAML files is not working properly. In some parts of the code it shows the list of suggestions as image below. But in other parts of the code it does…
-
0
votes1
answer43
viewsUWP Horizontal alignment of streaks in a Relativepanel
I’m creating a Hambugermenu similar to the Win10 Apps. The basis of Hambugermenu is SplitView and to distribute their children in the SplitView I chose to use a RelativePanel so I can choose which…
-
0
votes1
answer48
viewsMainwindow changes size by itself when running the application
Greetings! I created a small XAML window in a WPF project where in Design view is perfect, but when I run the application in Debug mode the window changes in size on its own. What to do so that the…
-
0
votes1
answer155
viewsIs it possible to import an XML file with an interest in replacing XAML?
Good morning ladies and gentlemen, It would be possible to work with XML file (layout) made in Android Studio to use in visual studio in the case of android development with Xamarin. I would like to…
-
0
votes0
answers49
viewsHow to Reverse an animation (run it in reverse) via pure shampoo
I did an animation Storyboard Abram menuzin and so far so good, I’ve done it before reverting the animation by c# //pode estar errado mas foi mais ou menos isso sb =…
-
0
votes1
answer113
viewsLanguage used by a VMIX application title designer
What language is used to work with Title Designer? This title works with an application that I use in my daily life at work. If possible any book that serves as a reference for study of it. Code…
-
0
votes1
answer370
viewsUpdate Page after Popasync in Xamarinforms
I have a page with the expense list contains travel information like Description gross value, expenses and net total and even a list with my travel expenses. The problem is that when I will edit or…
-
0
votes0
answers348
viewsVisual Studio 2017 Design XAML bug, does not recognize Resources
internal static System.Drawing.Bitmap radio_hover_btn { get { object obj = ResourceManager.GetObject("radio_hover_btn", resourceCulture); return ((System.Drawing.Bitmap)(obj)); } } I’m having…
-
0
votes1
answer433
viewsWPF select all Datagrid Checkbox
Hello, I’m trying to select all Checkbox of a datagrid but I’m not succeeding. Below is my code to select: private void CheckUnCheckAll(object sender, RoutedEventArgs e) { CheckBox chkSelectAll =…
-
0
votes1
answer220
viewsHow to declare and pass a decimal variable from XAML to C#?
<StackLayout> <Label Text="Digite um Valor:" Margin="10" HorizontalOptions="Start" VerticalOptions="Start"/> <Entry Keyboard="Numeric"/> …
-
0
votes0
answers99
viewsProblem 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... I read several topics about databinding and everything seems to be…
-
0
votes0
answers117
viewsProject with MVVM architecture
I’m having some doubts regarding the MVVM architecture. I am developing a project that has the following characteristics: - Main form with dynamic content - Main form generates some tabs according…
-
0
votes0
answers27
viewsHow to separate style sheets using Xamarin Forms
Hello, I am coming from WPF where it is possible to create my style files in separate files and from the same use in my UserControl's the same style settings. I did some (many) searches and found…
-
0
votes1
answer38
viewsMouse move over an item and an event be generated WPF
I’m having difficulty implementing an effect where when I hover over the item on the screen the speed should be 0. And without the mouse above should be back to 30. Use WPF using MVVM structure, so…
-
0
votes1
answer119
viewsSobrepor Elementos
Good afternoon I’m new to Xamarin and I’m having trouble overlapping elements. I made a few attempts, but unsuccessfully. <Grid> <Grid.ColumnDefinitions> <ColumnDefinition…
-
0
votes0
answers2051
viewsCustom userControl events still running in the code in the visual studio, is that a bug?
I am developing in WPF, and while doing a custom userControl, I had a surprise, when I went to use the Events "Routedeventhandler Loaded" and "Routedeventhandler Unloaded" of…
-
0
votes1
answer39
viewsGet x:Name of control by clicking
Hello, I have a stackpanel with a sequence of Abels and would like to capture the x:Name of the controller in the Label Mouseup event. XAML: <StackPanel Background="#FF405089"…
-
0
votes1
answer119
viewsEffect of fading Windows window to (Minimize, Maximize and Close)
I left the WindowStyle="None" and that eliminates all the animation of the window. A normal window edged has the excitement of fading to the (minimize, maximize and close). I wish that same effect…
-
0
votes0
answers40
viewsC# Xamarin.Forms
I’m looking for a way to, in a record, correlate state with city through Picker selection. Does anyone help? It’s for Xamarin Forms. Here are the codes: <Entry x:Name="EntryTelefone"…
-
0
votes1
answer21
viewsBinding of an Image in the Preject Resource
Good morning, you guys. I’m making a weather app for the course I’m doing and the weather icons we pull direct from links on the internet. How I would do it locally? The Icon is specified by an int…
-
0
votes0
answers15
viewsCommand only works if you edit the code while the program is running
Xaml <ItemsControl ItemsSource="{Binding Foldres}" FontSize="14" Foreground="{StaticResource SecondaryTextColorSolidColorBrush}" ScrollViewer.HorizontalScrollBarVisibility="Disabled"…
-
0
votes0
answers17
viewsClose Window when Thread finishes c# wpf xaml
How do I close the Window after the thread runs ? This error is given: System.Invalidoperationexception: 'The call thread cannot access this object because it belongs to a different thread.'…
-
-1
votes1
answer79
viewsFilter Longlistselector [CATEGORIES]
Hello, I have a webservice that returns me a list of "categories" with their sub-categories . I need help to "filter this", for example: Category 1 has sub-category 1 and 2; Category 2 has…
-
-1
votes1
answer273
viewsCreate side menu like Windows 10 Weather App
The friends who accompany me here, they must have read one previous question I did with that same theme. But as I mentioned in my last comment there, I gave up the initial idea because I concluded…
-
-1
votes4
answers166
viewsC# WPF How to separate a long string into several positions of an Array?
I need to create a getter and a Setter for 14 Model properties that will be used to make Binding in Xaml. The properties come from here: I have a field from a database table where it loads a very…
-
-1
votes1
answer117
viewsLoad image dynamically into a grid?
I have this shampoo: <StackLayout Spacing="10" Padding="10" VerticalOptions="Center" Grid.Row="3" Grid.Column="1" > <Image x:Name="MyImage" Source="{local:ImageResource…
-
-1
votes1
answer50
viewsLoad reCaptcha from a different site in my WPF/XAML application
I am working on a system that automatically downloads XML files from this website. But this site uses validation caps, and for that we would offer two options to our customers: using api’s like…
-
-2
votes1
answer602
viewsHow to format a label using Stringformat in Xamarin Forms
I am creating a solution where I must display a whole in one <Label />. To do this I’m using the code below: public partial class Home : ContentPage { public Home() { InitializeComponent();…