Most voted "xaml" questions
Extensible Application Markup Language (XAML) is a declarative language in the XML standard used to define user interfaces in WPF, Silverlight, Windows Phone, and Windows Store. This tag can be used with any technology that uses XAML, but should not be used when XAML is not part of the problem.
Learn more…137 questions
Sort by count of
-
1
votes1
answer64
viewsProblem to the popular Datagrid
I’m making the population of a Datagrid, but I don’t know why you’re not showing. Result: Only empty lines are returned. Fiscalizacao.Cs public class Fiscalizacoes { private String Concessionaria {…
-
1
votes1
answer138
viewsJustify text with Textalignment on Windows Phone 8
I’m making an application and in this application I have a textBlock that in the .shaman is as follows: <TextBlock Name="tDetalhes" Foreground="Black" FontSize="26" VerticalAlignment="Center"…
-
1
votes1
answer28
viewsMap of Brazil in SVG for Windowsphone. Is there a way?
It is possible to use Paths (the same as SVG) to create a map of Brazil in Windowsphone? Does anyone have an example?
-
1
votes1
answer30
viewsHow to treat Swipe horizontal, Windows Phone Silverlight?
First of all, I’m sorry about the post. Well, I’m trying to deploy a hamburger menu in my application Silverlight, I’ve tried Drawer layout, but Visual Studio insists on not recognizing it. So I try…
-
1
votes1
answer301
viewsWhat to use to create web site and android app
I want to create a website to host manga or link the sleeves of Fansub. Let’s say a Manga Host and create an app on android to visualize the sleeves without having to enter the site. How can I do…
-
1
votes1
answer241
viewsGrab value from a button inside 'Contentcontrol'
I have the following code on XAML: <Button Grid.Column="0" Grid.Row="1" x:Name="btnSete" Click="btn_Click"> <ContentControl> <Viewbox Margin="3"> <TextBlock Text="7"/>…
-
1
votes2
answers187
viewsDoubt about using in Visual Studio
I create a new project but can’t put those using as in this example below. He appears as in the other code below... Help me please =/ using System; using System.Collections.Generic; using System.IO;…
-
1
votes1
answer641
viewsRemove border from WPF window
I have this window with an image defined as background, ok, but note that the image is not occupying the whole window. How can I remove these edges? Remembering that, the window is with the…
-
1
votes1
answer47
viewsUWP XAML Frame.Navigate to page with parameter
I have two pages and I want to navigate from one to the other. Only the second page has a parameter that should be received from the first. ... class MainPage { MainPage() { InitializaComponent(); }…
-
1
votes1
answer779
viewsXamarin Forms - Plot GPS route
Good evening! Does anyone have an example of how to use GPS in Xamarin? I’m developing a project (PCL), which would plot the route between two points, but I’m still having some doubts. I can trace…
-
1
votes1
answer283
viewsHow to use Radiobuttons in Xamarin Cross Platform?
I’m a beginner in the universe Xamarin. How to insert RadioButton for "Male" and "Female" in Cross Platform in the shampoo?
-
1
votes1
answer66
viewsGrid Usage, Windows Phone C# Silverlight?
Well, I’m having problems developing apps in Visual Studio, my computer is 32 bits, so there’s no way I can test the apps with emulator, and test on my own phone, a 4-inch Lumia. In my last project,…
-
1
votes1
answer567
viewsIncrease the "text box" of the <Editor /> in Xamarin Forms
Save people! Would you know how to increase the text space in the Editor />" in Xamarin Forms? In the same way that we can increase an input /> in HTML with padding ? I appreciate any attempt.…
-
1
votes1
answer32
viewsHow to use resource files in XAML (Xamarin) file
I’m trying to use resource aquifers in my Xamarin Forms project but I don’t know how to reference the file string. Ex: <Label Text="MyApp.Resources.MinhaString" />. Someone knows how to do?…
-
1
votes1
answer431
viewsHow to make a round button using Xamarin.Forms
This code is not working within a Grid as a layout <Button x:Name="btnTeste" Text="Click Me!!" Grid.Row="3" Grid.Column="1" BackgroundColor="Black" BorderRadius="50" HeightRequest="100"…
-
1
votes1
answer136
viewsCreate and show a badge on an Xamarin page
I use Xamarin.Forms(Net Standard) and am having difficulty creating a badge and showing its value. I have a page (Tabbed Page) that has a Grid with 8 cells. Each cell has an image and each image…
-
1
votes1
answer44
viewsChange WCF address in Windows Universal App from development to production environment
I am developing an application in Universal Windows App (for Windows 10, Windows 10 Mobile, etc), which basically this application makes the consumption of data that are in the service running in…
-
1
votes1
answer93
viewsSelect item in Listbox with Binding?
I have a contact list: <ListBox Name="lstContatos"> <ListBox.ItemTemplate> <DataTemplate> <StackPanel Orientation="Vertical"> <StackPanel Orientation="Horizontal">…
-
1
votes1
answer117
viewsDefine multiple styles for a Usercontrol via Staticresource’s in WPF
I’m starting to work with WPF because of its resemblance to HTML. I realized through my research that when I use an expression like this Style="{StaticResource MeuStyle}" looks a lot like a class…
-
1
votes1
answer259
viewsPass/Receive <List> between pages and fill listview C# Windows Phone 8.1
I am creating a small application for windows phone 8.1, in which the user selects as many checkboxes as necessary, and from that the app goes through in a loop all the checkboxes to check which are…
-
1
votes1
answer960
viewsBrowsing between Pages
I’m making a sales order app with Xamarin, but I am with a problem, in flame ruma page search, and return the selected value to the page I was. I will explain further below. Screen 1: Order…
-
1
votes0
answers33
viewsFile . one of one note does not open in windows phone 8.1 C#
I have an app Windows Phone 8.1 that accesses Onedrive after authentication, I have access to all files/folders and subfolders of the logged in account. I’m having an error trying to open the one…
-
1
votes2
answers560
viewsXamarin.Forms Relative Layout Xaml
I’m trying to create a screen that has an image at the end of the screen and above it is the login buttons, like this one: with the yellow rectangle below and the buttons above it. but I can’t do…
-
1
votes2
answers368
viewsChange the Foreground of certain items in a Listbox, via Style, using a Converter?
I have a ListBox where the data source is a ObservableCollection<string>. I would like the items that start with "ATTENTION" to have the red source. I could do it using one DataTemplate, one…
-
1
votes2
answers778
viewsHow do I change the content of a Usercontrol using a button in another Usercontrol?
A window with a grid, and with two content areas, "Contentarea" and "Contentmenu". "Contentarea" starts blank, "Contentmenu" starts with the Navigation buttons, which make "Contentarea" change its…
-
1
votes1
answer247
viewsHow does the Dependency Property (Dependencyproperty) "work"?
I’m trying to understand the feature of dependency properties. I’ve read some tutorials on msdn but the feature is still unclear to me. Example: using System; using System.Collections.Generic; using…
-
1
votes0
answers97
views -
1
votes1
answer39
viewsSystem.Runtime.Remoting.Remotingexception no Designer XAML VS2015
I have a problem in Visual Studio. When I create a new UWP10 project in white, it comes the basic code. <Page x:Class="FoxMovieStoreMain.MainPage"…
-
1
votes1
answer32
viewsHow to add multiple Runs in a paragraph with a part of the Bold string in WPF
Good afternoon, I’m completely new to WPF, so forgive me if the question is stupid. I need to format two strings that are contained in the same paragraph, one in bold, and the other in normal text.…
-
1
votes2
answers180
viewsScrollview does not roll on 320x240 screen
I have a shaman 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…
-
1
votes1
answer72
viewsHow to Binding an element that was inherited from a User Control?
I set up a User Control that will be a screen model for me to implement other screens and avoid repetition of layout components. It contains a txbPsearch Textbox. <UserControl…
-
1
votes0
answers120
viewsHow to declare a ternary condition in XAML as a parameter for a Custommarkupextension
Hello I’m starting to work with WPF and created a Custom Markup Extension leaving of this tutorial. The intention of this Markup Extension is to simulate the declarative conditions that are found in…
-
1
votes2
answers184
viewsHow to call a parent window method 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. The Mainwindow calls a new screen Regradetailsdialog in a certain…
-
1
votes1
answer38
viewsUWP 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">…
-
1
votes0
answers13
viewsChanging the Source of a Listview that was created in Fragment
Where I change the font type and color in Listview control? Listview controls are in main.xaml as below: <ListView android:id="@+id/left_drawer" android:layout_width="240dp"…
-
1
votes1
answer122
viewsHow to define a color using the <Color/> element of Xamarin Forms within a Resourcedictionary
Hello, I’m following you this tutorial and, starting from what it shows along with the Xamarin.Forms documentation, I can create a Resource Dictionary as follows: <?xml version="1.0"…
-
1
votes1
answer364
viewsError in the shaman saying that the type was not found
In my shampoo 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"…
-
1
votes0
answers73
viewsChange property of a XAML control by changing value of a property in viewmodel
I have a Page with this style: <Border Padding="{Binding InnerContentPadding}" > <Border> <ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto">…
-
1
votes0
answers59
views -
1
votes0
answers23
viewsBy inserting data generated in Behind code through the model without having to DISPLAY in the view, is it possible?
Look I’ll start by saying that I know what I’m trying to do is break a taboo of the MVVM standard, but it is not possible that there is no other way to do this, it is common to have q create new…
-
0
votes2
answers106
viewsWindows Phone 8.1 Saving Toggleswitch Status
I have a code where I need to save the state of Toggleswitch. So that when starting the page it is with the Ison property active or inactive, according to how the user had selected. But when…
-
0
votes1
answer2145
viewsHow to limit characters in a textbox
How to limit the number of characters in a Textbox in xaml and via code behind?
-
0
votes1
answer1332
viewsWPF application. How to reference the image in the XAML code, so that another user can view it when running . exe project file?
I’m having a problem with my WPF application. I have two images in XAML code, and when I run the application on my computer, they appear normal, but when I ask someone to run the file. exe , it runs…
-
0
votes1
answer146
viewsJustify Text on Windows Phone
I have an application that the text is displayed in a textBlock and I want to make this text justified, I tried to put the alignment of the text as justified, but it was not, says that the method is…
-
0
votes0
answers61
viewsHow to write a string in an image or PDF?
Having a template image or a PDF file with an image template embedded in it, the image could be a card for example, hence in the application have fields TextBox as "Name, CPF and Comment", hence…
-
0
votes0
answers113
viewsWPF XAML does not render
I’m having trouble with the view only renders normally when I insert the Resourcedictionary in the Resources of the same, but when I insert the Resourcedictionary in the App.xaml Resources the view…
-
0
votes1
answer75
viewsAdding a Materialdesigninxamltoolkit controller with C# in XAML
I’m using Materialdesigninxamltoolkit to design my program in WPF, I’m new in WPF and wanted to know how I can add the Card controller by C#, as I do with Button or any other native WPF controller…
-
0
votes1
answer301
viewsGradient Xamarin Forms
I’m making the screens of a Xamarin app with XAML, and wanted to put a background gradient is possible ? For now the code is this:
-
0
votes0
answers25
viewsXaml parameterless constructor
Well, I have a problem that I cannot solve, when I go to a preview of what I did in "XAML", I always come across this error.…
-
0
votes1
answer44
viewsProblem in the XAML Textbox for XAML.Cs
I have a XAML (Cadastro.xaml) where I did one TextBox and a PasswordBox and named them as txtCpf and txtSenha, until then without any problem. When I’m gonna use them on Cadastro.xaml.cs, I can not…