Category "xaml"

Xamarin TabbedPage Specified Cast is not valid

I have a TabBar in my AppShell which has five tabs. Three of these tabs are ContentPages whereas the other two are TabbedPages. All three tabs with ContentPages

Make RichTextBox automatically scroll to bottom when content is added

I have a WPF UserControl with a BindableRichTextBox: xmlns:controls="clr-namespace:SysadminsLV.WPF.OfficeTheme.Controls;assembly=Wpf.OfficeTheme" . . . <cont

XAML/MVVM help for implementing screen grid

As a complete beginner to XAML/MVVM I would like to request some help with implementing a 24x14 letter screen. The XAML implementation is quite easy I think wit

XAML UWP - How to use animations in RenderTransform on elements in a ItemsControl (Data Binding)

I want to show a collection of images with entry animations (opacity, translation and rescaling) in a UWP app. How do I apply unique storyboards to each of the

How do I reset the binding from my source (ViewModel) to the target (.xaml)

I have a ProfilePage.xaml containing some ImageButtons like these (six of them): <ImageButton x:Name="resultImage" Source="{Binding Profile.Images[0].Sou

UWP Xbox Live Leaderboards

I am trying to incorporate leaderboards into my UWP game. I am using C# and XAML to create my game. I have created a high score leaderboard and have pushed it w

Xamarin binding sometimes invisible

Inside my Xamarin TicketPage.xaml the binding just shows after a change of the bindingname to notesBlobbed. So i need to change the binding name to notesBlobbed

Passing multiple parameters in c# windows phone app using Frame.Navigate(typeof(Page2))

I am creating a basic MCQ app where 2 MCQ's along with options are showed on a single page and the submit button shows the results on the second page in a textb

How to auto update a Listview - .NET MAUI

I am making an application where there is a history and I want the history to be updated automatically when there is a change in my list. Thank you

UWP is binded checkbox is checked?

So I created a combobox with inside a few binded checkboxes. My xaml looks like this: <ComboBox x:Name="CbSandwichFilling" ItemsSource="{x:Bind SandwichFill

How can I create a Xamarin.Forms cards carousel?

How can I get this carousel of cards in Xamarin Forms? I did it in ASP.Net-MVC C# and I'm using a JS plugin and HTML and CSS. Now I need to do it using Xamarin

Select ListViewItem when child element has focus UWP

I'm writing a Universal Windows App and I have a ListView where the ListViewItems contain a TextBox and a Button. When I click in the text box I would like that

How to create Numeric UpDown in UWP? [closed]

I am creating a derived class of TextBox for numeric data entry. I would like to add 2 buttons at the right side, like the X button in some Te

WPF Add menu in line with title bar

I've been searching for ways to get a menu in line with the title bar like the below image. It has the logo on the far left that acts as a menu item and the res

How can I access the Color from the SolidColorBrush of the Background in a ColorAnimation in XAML

I'm trying to do my own button style. I want to the MouseEnter and the MouseLeave event to use the color chosen for BorderBrush and Background respectively. My

WPF Label Justify & Distribute Text

I have a Label just displaying a title. How can I justify the text? and how can I distribute the text? Can I use a label or do I have to use another control?

Content Dialog not showing up WINUI3

I'm trying to show a popup to edit a brand in my app but it doesn't show up. Function where I call the Dialog: private async Task EditBrandAsync(Brand brand) {

Create a dropdown 'panel' area from a WPF ribbon?

The WPF ribbon (System.Windows.Controls.Ribbon) includes a number of controls which you can add to your ribbon having "dropdown" style behavior where clicking t

How to bind elements in separate xaml files?

I have a MainWindow.xmal which has two TabItems: <TabItem Header="Config" ... /> <TabItem Header="Results" ... /> I have a separated Config.xaml

WPF change bound command for keybindings based on property?

I have a xaml window that I want to bind the Escape key to different commands in my view model depending on the value of a boolean property. IsSearching == tru