I am trying to access a webview item that's inside a flipview. This webview was declared inside a datatemplate of the flipview. Does anyone know how I can access the webview so that I can do things with it?
Move the contents of the DataTemplate into a UserControl and use that as your ItemTemplate. Then you can easily do whatever you want in that UserControl.
Ended up the best way was binding the web view item to a different property of the item, and then displaying what was in that property (NodeValue)
Related
I have created a widget which have some properties in Kentico. I want to access the value of that property in a transformation. Is there a way... ?
You cannot access the widget properties directly, but you can achieve this by get set webpart properties and then register your webpart as a widget.
Refer this link
Thanks
Happy to help!
I am searching for a way to use one ViewModel for two different Views (Pages). I know there is Multi-view support in Caliburn.Micro and I read a lot of it but I'm not sure if it is what I am looking for or how it works on Windows Phone.
Currently, I have one View ItemPage.xaml and one ViewModel ItemPageViewModel. I use this View/ViewModel to add a new Item and display an existing Item. Depending on the mode (add, show, ...) I need to show/hide or enable/disable some UI elements and display different AppBar buttons.
Instead of control these UI elements by binding to properties, I want to create two seperate Pages(Views) with the corrrect UI elements.
It would be nice to use the same ViewModel for both Pages to avoid repitive code. So is my use-case above possible with Caliburn.Micro for Windows Phone?
In my WP8 app i have a longlistselector which includes CheckBox in its itemtemplate.
I want to set the IsChecked property of each checkbox in my list at run-time.
For doing this i figured i would need to loop through the items in the list and get access to the checkbox instance in each item and set its property.
But i cant find a way to get reference to a list item at a particular index in the longlistselector.
Can someone please guide me with this?? i am pretty new to this platfom.
Thanks!
I'm trying to make a TemplatedControl with multiple ControlTemplate and DataTemplates. Mainly this TemplatedControl will have a few ItemsControls. Now I'm trying to bind back to my TemplatedControl to get the DP's that style it.
In WPF I would basically do like {Binding RelativeSource={RelativeSource AncestorType={x:Type controls:CONTROL_NAME}}, Path=WHATEVER_STYLE} but in WinRT I can't get back to the parent control.
Is there a way to do this?
The one way I found was sticking the control with the styles in the Tag and pushing it down the tree. I hate this approach though
Does anybody know how to get image data from inside custom report item?
I want to enable users of my component to set image (background image for example) for the component to use. I've managed to create property with ImageSource type, but I reason that I need to read Source and Value, and than retrive the image data itself(since there is nothing in the ImageSource interface to access it).
I suspect that there should be a common interface for all types of sources, but if I need to use something like EmbeddedImageCollection that is also fine.
Thanks!
in Short : View Code and copy and paste the tag into the embedded images tag