Questions tagged as 'xaml'

1
answer

Error in xaml saying that the type was not found

In my xaml I have: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Opa"...
asked by 18.12.2018 / 20:06
2
answers

How to call method of a parent window when another daughter window is closed with WPF

Hello, I'm starting to work with WPF and my situation is as follows: I have a MainWindow screen, which persists the application. MainWindow calls a new RuleDetailsDialog screen on a given function. As soon as a process that closes the Ru...
asked by 11.07.2018 / 13:58
1
answer

UWP XAML ListView.ItemTemplate does not follow the column spacing defined in ListView.HeaderTemplate

I'm writing an app with ListView defined below: <ListView x:Name="TodosRecibos"> <ListView.HeaderTemplate> <DataTemplate> <Grid Padding="12" Background="Transparent"&g...
asked by 15.06.2018 / 21:26
1
answer

How to use resource files in the XAML file (Xamarin)

I'm trying to use resource files in my Xamarin Forms project but I'm not sure how to reference the file string. Ex: <Label Text="MyApp.Resources.MinhaString" /> . Does anyone know how to do it?     
asked by 02.12.2017 / 17:55
1
answer

How do I bind an element that was inherited from a User Control?

I've assembled a User Control that will be a screen template for me to implement other screens and avoid repetition of layout components. It contains a TextBox txb Search. <UserControl x:Class="SistemaComercial.Presentation.WPF.Views.Lists....
asked by 10.10.2017 / 00:56
2
answers

ScrollView does not scroll on screen 320x240

I have a xaml page with a ScrollView and a ListView that work normally on popular smartphones. The problem is that the scroll bar does not work on the Samsung Pocket Duos device, which has a screen of 320x240 and 2.8 ". Since many people still u...
asked by 07.06.2017 / 13:30
1
answer

System.Runtime.Remoting.RemotingException in XAML Designer VS2015

I have a problem in Visual Studio. When I create a new UWP10 project in white, it comes up with the basic code. <Page x:Class="FoxMovieStoreMain.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x...
asked by 04.01.2017 / 22:10
2
answers

Xamarin.Forms Relative Layout Xaml

To try to create a screen that has an image at the end of the screen and above it is the login buttons, type this here: withtheyellowrectanglebelowandthebuttonsaboveit.butIcannotdoit,seetheresult: andhere'sthecode:<ContentPagexmlns="http://x...
asked by 25.08.2016 / 03:39
1
answer

How to use RadioButtons on Xamarin Cross Platform?

I am a beginner in the universe Xamarin . How to insert RadioButton to "Male" and "Female" in Cross Platform in xaml?     
asked by 17.10.2016 / 19:57
1
answer

Define multiple styles for a UserControl through StaticResource's in WPF

I'm starting to work with WPF because of its similarity to HTML. I noticed through my searches that when I use an expression like this Style="{StaticResource MeuStyle}" it looks a lot like a class definition that I have in html ( class...
asked by 26.01.2016 / 18:54