Category "xaml"

WinUI HyperlinkButton is not displayed underlined

I am using the WinUI technology. I would like to display a HyperlinkButton in my XAML. The problem is that the HyperlinkButton is not displayed underlined. But

How to keep Tooltip open in WinUI3?

How can I force a tooltip to stay open or at least increase the duration in winui3? Most examples I found are either for wpf or uwp and none of seems to work.

How to get selected value on SelectionChanged event of ComboBox in ViewModel (WPF-MVVM)?

I am new in WPF Application with pattern MVVM and I have a particular situation that I do not know how to solve it. I builted a system to switch environments (P

TextBox Stylings when Focused - WinUI 3.0

Similar to UWP TextBox Background when Focused I am attempting to set some application-wide style guides for Focused TextBox elements in my application. My prob

Flyout for autocomplete in WinUI 3 TextBox

Can anyone explain what the ProofingMenuFlyout is for in WinUI 3 on a TextBox? The documentation for it is bare with no example on how to use it. What I'm actua

WPF Binding in textblock does not work but in its tooltip does

I have a weird issue. In my application (witten with C# .net framework 4.8 with Microsoft's MVVM toolkit) I have a ListView bound to a BindingList<VisualMach

Async task getting value off of JSON return, XAML/WPF app

I am trying to get a single value off of a JSON return. My call is doing an HttpClient call to a webservice, it returns me my Json object. I need to now get a v

Determine when the popup of a combobox encounters the edge of the screen and changes target origin changes to the top-left corner of the target area

I have an issue with popup placement. If the combobox encounters the edge of the screen then the target origin changes to the top-left corner of the target area

The ScrollViewer automatically changes its height and does not scroll

In my program, I use ScrollViewer to display elements inside, but the problem is that when the ScrollViewer is filled with content, its height automatically cha

The ScrollViewer automatically changes its height and does not scroll

In my program, I use ScrollViewer to display elements inside, but the problem is that when the ScrollViewer is filled with content, its height automatically cha

WPF Drawing Wheel Color Picker?

I'm have try drawing color picker by Ellipse LinearGradientBrush. <Ellipse Width="200" Height="200"> <Ellipse.Fill> <VisualBrush Tile

WPF Textbox Validation Error binded to Variable

In a .xaml file, I have a number of Textbox objects that are linked to data paths as such: <TextBox Text="{Binding Path=Var1}"> These variables (like Var

My Xamarin app keeps crashing due to Databinding(Basic Databinding)

I was trying to use Databinding in my Xamarin app. After implementing, just like the many instructions suggest, it just always crashes while loading the app. Wi

How to Add Row in datagrid wpf

Private Property DataTable As DataTable Public Property DataView As DataView Public Sub New() InitializeComponent() DataTable = New DataTable()

How to nest formatted strings in XAML?

Is it possible to nest formatted strings in XAML without creating a custom class? Here is an example of what I want to achieve: Format a string, e.g. "inner sta

I would like to change my Items Page from using CollectionView to ListView in xamarin.forms but I am having issues?

The above header refers. I would like to make this change so I can implement expanding lists (whereby my some of my list of items could have sub-items that can

Xamarin.Forms: editing (in VS) custom control's property value at runtime in XAML doesn't cause any updates

I have a custom control in Xamarin.Forms app that's described via XAML. For example, CustomControl.xaml: <ContentView xmlns="http://xamarin.com/schemas/2014/

Xamarin.Forms: add control (in XAML) based on Platform

I have this (simplified) layout in XAML using Xamarin Forms: <controls:MyTabItemView> <ScrollView> <Grid> ......

if itemcontainerstyle is inside DataTemplate and a call the the main window is used an System.NullReferenceExc on start-up but works fine if ignored

when i try to call a event from the main wind if a control is in a template in itemcontainerstyle when the run a System.NullReferenceException: 'Object referenc

Xamarin Drag and drop how to edit balloon icon and text see image

Using the drag drop sample https://github.com/xamarin/xamarin-forms-samples/tree/main/WorkingWithGestures/DragAndDropGesture I'm not sure its actually a notify