Refer to an element of a another page (Windows 8) - windows-8

i am using a c# flyout in my windows 8 store app. When i open my custom flyout (i.e. Settings) i want to hide the advertisment that is in the page below the flyout. Is
there a way that i can refer to this Ad within the code of my flyout page?
Thanks very much

The best practice is to use attached behavior (see nuget package winrtbehavior), you can attach the property and when the popup is loaded you can invoke the command to hide the adcontrol

Related

Bootstrap in xpages André dojo tab container

I am developing an application on xpages using Bootstrap. The main xpages has one tab container. In an action that is inside a button contained in a dialog (from the extension library), inside one of the tabs, in your oncomplete event I give a partial refresh on several elements. All are updated except the current tab that is all blank. Does anyone know if there is any restriction on using Bootstrap that is already shipped in the domino itself with the dojo tab container?

XamlSpy prevent me from doing actions

I installed XamlSpy using NuGet in my UWP app.
I debug my application and connect it successfully using the XamlSpy.
The problem is that every mouse hover is responses by XamlSpy what prevents me from clicking on buttons etc'...
How can I start inspect only when needed ?
I tried CTRL+Shift without success...
How can I start inspect only when needed
According to this article, Ctrl+Shift is worked for XAML Spy 2. By testing on my side, I guess you are using XAML Spy 3.
In that case, when you are using the XAML Spy desktop app to inspect, the "Select Visual" button which is for moving your mouse to the app, and click to select a visual in the user interface, is highlighted by default. You may need to click it to not highlight the button to stop inspecting, and click again can start inspecting again when you needed.

Custom tab control with close buttons

I want to have modern framework tab control (like in image) with close buttons that are removing tab like in chrome or firefox
http://i.stack.imgur.com/04sFX.png
is there any custom tab control like this or way to do this?
I've used fabtab in the past and it provides the features you are looking for. It is WPF.
https://fabtab.codeplex.com/

Is there a Windows store app control for expanding items?

I am looking for a user control that implements the behavior that can be seen in various settings related pages in Windows 8 (e.g. in "PC Settings"\"PC and devices"\"Devices"): a list consisting of icons and a label, where an item is expanded when clicked upon, showing a button that provides an item related action.
Is there a suitable control available for Windows store apps? If not, what would be the most efficient way to implement this behavior?
are you looking for something similar to TreeView in WinrtXAMLToolkit ?
You can use FlyOut component.
Also you can find "in list flyout example" on internet.

Inspect Element Using System.Windows.Forms.WebBrowser

Using the context menu inside internet explorer allows you to inspect the element to see styles etc attached to a html element.
Is there anyway that you enable this functionality inside the webbrowser control?
(I am guessing it is not included to make it lighter, if so is there an alternative?)
It is not my intention to make this available to the client but it would certainly help when debugging the pages sent to the control in my winform application.
As no one seemed to bite on this question I have settled with using the following solution.
https://getfirebug.com/firebuglite#Stable
Using the instructions on this page I was able to press F12 on the webbrowser control to show a "Lite" version of Firebug, this allows me to happily inspect the elements.