Skip to main content

All Questions

Tagged with
0 votes
1 answer
244 views

Is it safe in general to use spaces between specific thickness values (e.g. Margin or Padding) in XAML elements?

Recently one of my colleagues started using spaces instead of commas as separators for specific values in Thickness fields like Margin and Padding: <Label Margin="0 1 2 3"/> While ...
Dmitry Vornychev's user avatar
-1 votes
1 answer
83 views

Add a resource reference in XAML

Is it possible in XAML to add a reference to resource? For example I have <Color x:Key="LightRed">#e24c3f</Color> and I need to have something like <Color x:Key="...
Roman Tabachuk's user avatar
-1 votes
1 answer
70 views

how can i display the result of two checkboxes in a label, which one is being checked or even both are being checked in a WPF?

many thanks for your help. I am totally a new guy in programming world, therefore I really need your hand! Problem is: i've two checkboxes and one label, by checking each single checkbox the label ...
Naseer Akbari's user avatar
0 votes
1 answer
186 views

How to Add Grouping and Incremental Loading Support for a GridView in UWP

Currently I'm able to perform grouping using a CollectionViewSource instance that is being binded to a GridView ItemSource. All is working as aspected but I need to add Incremental Loading Support, ...
Radu Olteanu's user avatar
0 votes
0 answers
220 views

UWP programmatically binding dynamic form

I created a dynamic form using this model class: public class CustomField { [JsonProperty("uid")] public Guid uid { get; set; } [JsonProperty("name")] public string name { get; set; ...
Abdellatif's user avatar
0 votes
1 answer
862 views

Xamarin.Forms ControlTemplate Triggers

I'm trying to use Triggers in my ControlTemplate but the control is not updating. I have tried using both basic property Trigger and DataTrigger. Has anyone used Triggers in a ControlTemplate in ...
Darlene's user avatar
  • 808
0 votes
0 answers
462 views

Xaml x:Double / String binding (xamarin, uwp, wpf)

How can i make like a this: <Color x:FactoryMethod="FromRgb"> <x:Arguments > <x:Double x:Key="{Binding Source={x:Reference SliderR}}"/> <x:Double x:Key="{...
Nikita Goncharuk's user avatar
0 votes
1 answer
2k views

Fingerprint scanner in C# UWP application

Background I want to make my question as specific as possible but still give a broad background of why I'm asking... My goal is to create a brand new cross platform application which incorporates ...
Jon's user avatar
  • 190
1 vote
2 answers
763 views

M2MQTT in Portable Class Library

I would like to share my M2MQTT code between a Windows 10 universal windows platform application and a windows phone 8.1 application. Perhaps a WPF app in the future. I've attempted to use NuGet to ...
Jeff Albrecht's user avatar
38 votes
7 answers
44k views

Calling a Method in View's CodeBehind from ViewModel?

I have a method within the code behind of my View (this method does something to my UI). Anyway, I'd like to trigger this method from my ViewModel. How could this be done?
Shai UI's user avatar
  • 52k