xaml Questions

2

I have two tabs that is bind to one viewmodel which contain a PlotModel of oxyplot and view model selected through a DataTemplate. When click on the first tab the viewmodel was bind properly but wh...
Intercommunion asked 14/9, 2014 at 13:0

3

Solved

I am running into some issues with styling a radio button in .Net MAUI. Initially, I noticed the the radio button look-and-feel is not consistent across Windows and Android, as can be seen in the i...
Acerbate asked 20/1, 2023 at 23:6

2

Solved

I have a HierarchicalDataTemplate which has some simple Items contained in a horizontal StackPanel. A context menu is assigned to the root StackPanel container as well: <HierarchicalDataTemplat...
Ingrained asked 12/9, 2011 at 16:38

2

Solved

I know how the columndefinition works in XAML but there is something I want to do and don't know how. I want 4 columns like that: <Grid.ColumnDefinitions> <ColumnDefinition Width="110" ...
Thanhthank asked 1/9, 2014 at 20:37

3

Solved

Since .NET MAUI is the successor of Xamarin, i am trying to port a Xamarin layout to the new Maui version. The RelativeLayout is removed from Maui. I used the RelativeLayout to position a GUI on to...
Oneeyed asked 10/9, 2022 at 12:6

2

Solved

I'm attempting to create a simple button template in which the button normally looks like a single horizontal line, but when moused over, the button will display a "rectangle" color fill behind it....
Anthropopathy asked 14/9, 2012 at 19:54

7

Solved

How to automatically select all text on focus in Entry,Editor,Label? Use Cross Platforms. Quantity.IsFocused = true; No work :(
Phyllisphylloclade asked 28/1, 2015 at 14:4

2

As often happens with WPF, I'm probably going about things the wrong way, but I have the following situation: I would like to apply a style depending on a DataTrigger, but you can't change Style f...
Junette asked 10/9, 2014 at 6:21

5

Solved

This is more out of curiosity. I was studying that WPF applications are resolution independent. Does this means that we need not bother about the monitor resolution size? because being a windows ap...
Maus asked 10/9, 2013 at 7:55

4

Solved

I want to tell WPF: "If TextBlock contains no data, then don't show it." TRY #1 with a simple trigger produces the error "'Text' member is not valid because it does not have a qualifying type name...
Antagonist asked 8/6, 2009 at 14:56

3

Solved

I have a new philosophic question, which aims at underline differences between old WPF patterns and the new UWP ones. I would like to extend a standard control (e.g. a Button) with new properties,...
Psalmist asked 14/12, 2017 at 0:22

9

Solved

I recently got into a strange problem, it seem to have happen randomly. When I make changes inside a XAML-file (It can be anything, change text in a button, change color of background etc.) my vi...
Agglutinative asked 1/2, 2014 at 22:30

20

Solved

I've attempted to start playing with .Net MAUI and I've setup my development environment following the steps as described in: https://learn.microsoft.com/en-us/dotnet/maui/get-started/first-app?pi...
Tiruchirapalli asked 19/6, 2021 at 12:48

4

Solved

I'm working with a .NET MAUI Preview 7 project and I need to create a Table/Datagrid but I see that in the XAML file, there is no tag for "Table","DataGrid" or "DataView&qu...
Cutlery asked 20/8, 2021 at 8:40

3

Solved

Is it not possible to reference an assembly that has spaces in its name? Do I really have to rename my assemblies to not contain spaces? Is there no way to escape the spaces? I can't find very many...
Freehold asked 16/3, 2011 at 18:47

4

Solved

So i basically have this ListView and i would like to press Tab and iterate through my TreeViewItems (preferrably only my TextBoxes) <ListView> <ListView.View> <GridView> <...
Nativity asked 11/8, 2011 at 1:25

2

Solved

I have no clue how long this feature/option has been around but my mouse happened to pause over this button within the WPF designer early and now I'm curious what it's purpose is. Hovering over th...
Sonatina asked 3/11, 2017 at 13:21

2

Solved

I want to change FontStyle and FontWeight using c# in my code . I tried this: textblock.FontStyle =FontStyle.Normal and textblock.FontWeight =FontWeight.Bold but its not working.
Inlaid asked 21/5, 2014 at 8:53

3

I'm pretty new to c#, the first thing that I'm trying to make is a ListView with data bindings which has turned out ok. I'm now trying to make items have a twist button if the underlying model has...
Kesha asked 21/1, 2013 at 17:42

13

Solved

I have a ViewModel defined like this: public class LocationTreeViewModel<TTree> : ObservableCollection<TTree>, INotifyPropertyChanged TTree : TreeBase<TTree> I want to refer...
Lamonicalamont asked 4/4, 2012 at 5:0

2

Solved

My problem/situation is very similar to Wpf DataGrid SelectedItem loses binding after cell edit but I'm not using any "custom" WPF framework. I have a model that implements INotifyPropertyChanged a...
Osmen asked 26/6, 2013 at 0:54

5

I've just installed VS 2022 preview to use Maui but there seems no way to see a designer view of the XAML, I want to drag and drop controls onto the page but all I get is an ancient looking XAML te...
Rodi asked 24/1, 2022 at 6:57

2

Solved

The Goal Creating and rendering a simple WinUI3 GUI in PowerShell 7.5 which is based on .NET 9. Nothing complicated, just a window and a button in it, such as this XAML <?xml version="1.0&q...
Ockham asked 12/5, 2024 at 18:44

4

Solved

I am using a slider to control the position of a playing MediaElement. I have implemented the ValueChanged event to synchronize the position and the value of slider. So when I am dragging on the Th...
Ese asked 10/8, 2019 at 10:22

7

Solved

So I've been searching around and cannot find out exactly how to do this. I'm creating a user control using MVVM and would like to run a command on the 'Loaded' event. I realize this requires a lit...
Julietjulieta asked 12/4, 2012 at 15:37

© 2022 - 2025 — McMap. All rights reserved.