First, the flow: My app loads splash screen to start page (login). From login screen, load to home page. From home page, load to second page. From second back hit "Back" button, calls "GoBack" To Home Page From Home page hit "Back", calls "GoBack" to login screen. Crash Exception info: [...] read more
I have this Pivot control, loaded with PivotItems. It's all good except that I want to be able to dynamically reorder the PivotItems, without cloning the PivotItems. The problem is that the ItemCollection of the Pivot control does not seem to be able to do that. I can insert a [...] read more
I have a UWP project with an animation that worked fine prior to upgrading my workstation to the Windows 10 Fall Creators update. The app builds fine, but when I run it and tap on "Coming Soon", instead of the animation playing, now I get an exception. I am running [...] read more
I have recently started developing an UWP application. I have defined a style in my page resources like this: <Style TargetType="AutoSuggestBox" x:Name="AutoSuggestBoxStyle"> <Setter Property="FontFamily" Value="Segoe UI"/> <Setter Property="FontSize" Value="17"/> <Setter Property="FontWeight" Value="SemiLight"/> <Setter Property="BorderBrush" Value="Gray"/> <Setter Property="BorderThickness" Value="0.5"/> <Setter Property="PlaceholderText" Value="Type Here"/> <Setter Property="Margin" Value="0,10,0,0"/> </Style> Then I am using [...] read more
I never had problems with Microsoft Advertising until yesterday... Yesterday I had lot of crash in my app due to Microsoft Advertising. The symbol name of the event is: Microsoft_Advertising!Windows::UI::Xaml::DependencyObject::[Windows::UI::Xaml::IDependencyObject]::SetValue Someone else have this problem ? How can I solve this problem? (my app is a Windows 10 universal app [...] read more
I'm working on adding complex theme for my app. What I thought is when users changes theme, I load a ResourceDictionary and changes it's children at runtime. But insert operation always fail, please help me. Following is what I did: auto newResourceDic = ref new ResourceDictionary(); newResourceDic->Source = ref new [...] read more
UWP, C#. I have a Pivot control. I'm trying to add a PivotItem-derived object to the Items collection. It throws a COMException: > No installed components were detected. > > Cannot apply a Style with TargetType 'Windows.UI.Xaml.Controls.PivotItem' to > an object of type 'Windows.UI.Xaml.Controls.ContentControl'. The HRESULT is 0x800f1000, if that [...] read more
I'm currently implementing a custom style for a button and want to define the different states (eg. Pressed) with a VisualStateManager. <Style x:Name="customStyle" TargetType="Button"> <Setter Property="ClickMode" Value="Release"/> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="Button"> <Grid x:Name="RootElement" Background="{TemplateBinding Background}"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> <VisualState x:Name="Normal"/> <VisualState x:Name="Pressed"> <Storyboard> <ColorAnimation Storyboard.TargetName="RootElement" Storyboard.TargetProperty="Background" To="Red" </Storyboard> </VisualState> [...] read more