Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
24 views

.NET MAUI XAML Binding TemplateSelector ViewModel Command

I'm new to .NET MAUI and XAML so I apologize in advance for any written/conceived "heresies". I have a "Detail" XAML ContentPage to which I have associated a specific viewModel as ...
Steru's user avatar
  • 1
0 votes
0 answers
15 views

How to set FontSize in Avalonia UI specifically only for the Android version of the application?

I'm writing a cross-platform application using the Avalonia UI Community Toolkit. and it turned out that one of my TextBlocks does not fit on the screen when launched on the phone. how to set FontSize ...
0 votes
2 answers
74 views

How to copy and paste in wpf richtextbox containing runs and inlineUICOntainer?

I have created a RichTextBox in wpf containing the below content <RichTextBox x:Name="RichTextBox" IsDocumentEnabled="True" AutoWordSelection="...
why stuff works's user avatar
0 votes
0 answers
61 views

How exactly is a WPF element along with its other visual objects rendered?

I am a novice to C# and WPF. So I am browsing through the dotnet wpf repository on github trying to find how a text selection/highlight made on text in a RichTextBox gets actually rendered onto the ...
Ajaykrishnan R's user avatar
0 votes
0 answers
37 views

Avalonia data binding: Unable to resolve property or method of name 'ItemHeight' on type 'Avalonia.Controls.Window'

Im having a realy hard time with data binding in avalonia. The first textblock in the code binds the value ItemHeight properly but the one insde ItemsControl doesnt. I think its the way i use relative ...
RadovicDanilo's user avatar
0 votes
0 answers
27 views

How to Make Headers Vertical in Telerik WPF Data Grid?

I am working on a WPF application using Telerik's RadGridView, and I would like to change the orientation of the column headers to be vertical instead of the default horizontal. So, What I mean is ...
Rahul Gupta's user avatar
0 votes
1 answer
59 views

On Second time Face Authentication IOS app gets crashed ['Window was already deactivated']

Whenever I try to authenticate app second time by using face in IOS apps gets crashed error shows 'Window was already deactivated'. used below code for the face authentication. lang-c# var result = ...
Vrushabh Konde's user avatar
1 vote
1 answer
84 views

WPF Dynamic Data Grid's Thumb position changed when row and column definition is added to selected dynamic grid

Requirement: Our requirement is to draw an empty Grid(table with rows and columns) on top of a tables present in the image and for a single image there may be multiple grids. All the grids should be ...
Vignesh Jayaraman's user avatar
0 votes
0 answers
50 views

Switching Between System Power Saving Mode in UWP app ,makes the app non-responded for a while

My UWP app was not responding for sometime, when switching between power Saving mode(windows settings) while App was running. To Reproduce the issue , Run the app Open Windows System Battery Settings ...
PremKumar Shanmugam's user avatar
0 votes
0 answers
46 views

XAML WebView2 widget is always on top of Z-Order. I need it to be at the bottom

For starter, I'm not new to .NET and XAML, but it is the first time I'm using the WebView2 XAML widget. I have the following declaration of a WebView2 widget in a XAML form: <WV2:WebView2 Name=&...
Sergio B.'s user avatar
  • 960
0 votes
1 answer
62 views

How can I create, duplicate, or copy paste a whole Border control as it is with all of its controls inside it

first of all, I just want to note that I might be not good at english, and i'm sorry about this. **Issue: ** I'm for now learning .net Maui and i want to learn how can i do this: i want to make a ...
TLDev's user avatar
  • 1
0 votes
0 answers
21 views

Changing the hamburger/TogglePaneButton color on mouse over in Kinnara's ModernWpf applications

I have a WPF application using Kinnara's ModernWpf (link) To change the text color of all the NavigationViewItems in the sidebar as well as the hamburger/TogglePaneButton I just need to add this line ...
Michał Recław's user avatar
1 vote
1 answer
65 views

Removing the strikethrough line in CalendarView in WinUI

I am implementing a custom control based on CalendarView and have an undesired strikethrough line going through today, like this: My CalendarViewDayItemStyle is defined as following: <CalendarView....
Den's user avatar
  • 16.8k
0 votes
3 answers
75 views

How to set interaction behaviors from Style

I am repeating my code multiple times in XAML Repeated code = <TextBox Margin="5" MinWidth="50"> <i:Interaction.Behaviors> ...
Alexandru Filipescu's user avatar
1 vote
2 answers
60 views

Why does an Ellipse's Fill's ImageSource property, not accepting an ImageSource object type?

I have a DependencyProperty of type ImageSource named "Image". public static readonly DependencyProperty ImageProperty = DependencyProperty.Register(nameof(Image), typeof(ImageSource), ...
Krugs's user avatar
  • 69

15 30 50 per page
1
2 3 4 5
273