uwp-xaml

SwipeItem XAML Binding ignored

落爺英雄遲暮 提交于 2020-02-07 03:19:16
问题 I am having trouble getting any binding to work for a SwipeItem within a RadListView (which is similar to a standard ListView ). In particular, I am trying to bind to the Command property; however, I have attempted to bind to other properties, e.g., Text , but to no avail. <telerikDataControls:RadListView ItemsSource ="{Binding Users, Mode=OneWay}"> <telerikDataControls:RadListView.ItemTemplate> <DataTemplate> <SwipeControl> <SwipeControl.RightItems> <SwipeItems> <SwipeItem Text="Delete"

Cannot find a Resource with the Name/Key TopCornerRadiusFilterConverter in uwp

守給你的承諾、 提交于 2020-02-04 22:56:24
问题 After installing WinUI into UWP application.I am getting ' Cannot find a Resource with the Name/Key TopCornerRadiusFilterConverter ' error Sample code: xmlns:controls="using:Microsoft.UI.Xaml.Controls" controls:DropDownButton Content="test"></controls:DropDownButton> Application version: 回答1: Cannot find a Resource with the Name/Key TopCornerRadiusFilterConverter in uwp After install the WinUI nuget package, it will display note window said: Thanks for installing the WinUI NuGet package! Don

How to handle Line Chart that keep expanding in both Independent and dependentValues

吃可爱长大的小学妹 提交于 2020-01-25 21:16:09
问题 How to handle the Independent and dependentValuePath that keep expanding in every 10 minutes? Will including ScrollViewer handle this scenario? Suppose, below is the chart in use: <Charting:LineSeries Title="station1" Margin="0" FontSize="16" FontWeight="SemiBold" IndependentValuePath="Q_interval" DependentValuePath="Q_size" IsSelectionEnabled="True"> <Charting:LineSeries Title="Terminal 1" Margin="10" FontSize="16" Foreground="Blue" FontWeight="SemiBold" Foreground="Purple" BorderBrush="Red"

Zoom content to fit in a UWP WebView

六月ゝ 毕业季﹏ 提交于 2020-01-23 06:31:50
问题 I am trying to implement a zoom to content fit function in a XAML-WebView control inside a UWP app. As the semi-official solution for zooming seems to be using JavaScript, my approach was to dynamically set the zoom CSS-property of the body element. Now the question is to find the right zoom factor. According to the documentation, the WebView uses the Edge browser in document mode. However, in Edge, I found that the document.body.clientWidth -property always returns the document width,

Why this UWP ComboBox can be blank after initialization but works fine for selection?

一笑奈何 提交于 2020-01-21 09:02:05
问题 I have a ComboBox like this <ComboBox Grid.Column="1" Padding="5,0,0,0" DisplayMemberPath="Description" SelectedItem="{Binding MaxXXAge, Mode=TwoWay, Converter={StaticResource MaxXXAgeToMaxXXAgeMemberConverter}}" ItemsSource="{Binding ElementName=SettingsXXScrollViewer, Path=DataContext.MaxXXAgeMemberGroup, Mode=OneWay}" /> However, after initialization, the combobox is blank. It actually works fine after this. I can select and show the selected item as expected. It's just the first glance

Problems Setting FlipView Items source using Data Virtualization

江枫思渺然 提交于 2020-01-17 14:19:08
问题 This is a follow up from my previous question (UWP Problems Setting GridView Items source using x:Bind). In that case I was using the random access file data source from Mirosoft's Data virtualization sample and the grid was never being populated. The problem there was that I was not raising the property changed event. The grid now works well. My problem now is that instead of a grid view I am trying to use the data source in a flip view control. The data source does get initialized, the

Problems Setting FlipView Items source using Data Virtualization

本秂侑毒 提交于 2020-01-17 14:18:03
问题 This is a follow up from my previous question (UWP Problems Setting GridView Items source using x:Bind). In that case I was using the random access file data source from Mirosoft's Data virtualization sample and the grid was never being populated. The problem there was that I was not raising the property changed event. The grid now works well. My problem now is that instead of a grid view I am trying to use the data source in a flip view control. The data source does get initialized, the

How to manually scroll using ItemsRepeater

旧时模样 提交于 2020-01-16 17:11:18
问题 I'm using ItemsRepeater . And using a ScrollViewer to scroll left/right. For some reason, I have to disable ScrollViewer ' HorizontalScrollMode , and add Left/Right Button to manual scroll. The xaml is <Grid> <muxc:ItemsRepeaterScrollHost Margin="12" Loaded="ItemsRepeaterScrollHost_Loaded"> <ScrollViewer x:Name="sss" VerticalScrollBarVisibility="Hidden" HorizontalScrollBarVisibility="Hidden" VerticalScrollMode="Disabled" HorizontalScrollMode="Disabled"> <muxc:ItemsRepeater x:Name=

GridView looses track of items in a NotIndexed location and many do not get displayed anymore

半城伤御伤魂 提交于 2020-01-16 08:53:14
问题 I am using for a UWP app the FileInformationFactory to retrieve a Virtualized vector of files object which are cast to a FileInformation and displayed in a GridView . I want to query a folder on a SD card plugged onto my laptop and compare the virtualization of the GridView when this folder is in a FullyIndexed location, such as my Desktop. This SD card has a folder containing 15,000 text files of zero bytes. Each file is named x.txt where x runs from 1-15000 (this can be generated in a

Implementing TeachingTip control for a UWP App

China☆狼群 提交于 2020-01-16 04:24:32
问题 To install the TeachingTip-control in my UWP app, I've done the following stepts: installed Microsoft.UI.Xaml package via Nuget in my project Added <XamlControlsResources xmlns = "using:Microsoft.UI.Xaml.Controls" /> into App.xaml . Imported Namespace xmlns:controls="using:Microsoft.UI.Xaml.Controls" I implemented the TeachingTip -control as follows: <Button x:Name="BackButton" Background="{x:Null}" Content="Back" Click="BackButton_Click"> <Button.Resources> <controls:TeachingTip x:Name=