﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - ClientUI - Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Sun, 05 May 2013 22:18:09 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Glad to hear that the idea to set the TargetElement of CallOut to the TextBlock of UXTreeViewItem’s header helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Should you need further assistance or run into any technical problems regarding our controls, feel free to post it into our community site. We would be happy to assist you again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Sat, 04 May 2013 07:21:57 GMT</pubDate><dc:creator>MikeTurrento</dc:creator><description>&lt;p&gt;Hy Yuri,&lt;/p&gt;
&lt;p&gt;thx for your replay ... that do it!&lt;/p&gt;
&lt;p&gt;Again big thx!&lt;/p&gt;
&lt;p&gt;cheers mike&lt;/p&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Fri, 26 Apr 2013 08:00:33 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Deeply apologize for the delay in sending this.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I have managed to reproduce the reported problem in my local end. From another point of view, it is not CallOut control’s fault which causes the pointer doesn’t fit properly. The explanation is as follow: the TargetElement property of CallOut is set to the SelectedElement of UXTreeView. When user expands the node of UXTreeView, the SelectedElement becomes bigger (since it has sub-nodes displayed). The pointer position of CallOut is set to be middle-aligned against the TargetElement. So when the element becomes larger, the pointer position will no longer point to the parent node.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I will have this discussed with the ClientUI development team. I will get back to you on Monday with the result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;strong&gt;Edited on April 29, 2013 9:00 AM&lt;br /&gt;Reason: Update Latest Status&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;There is a possibility to implements the desired scenario. The idea is to set the TargetElement to the TextBox or Label of UXTreeViewItem's header.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I'm currently testing the possibility mentioned above in a simple sample. I will soon update the result.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;&lt;strong&gt;Edited on April 30, 2013 5:30 AM&lt;br /&gt;Reason: Update Latest Status 2&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I have managed to implement the idea which was described on my previous post.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Following shows the step-by-step to modify the UXTreeView control based-on the required scenario.&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;Use TextBlock as the ItemTemplate of UXTreeView&lt;/h3&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I modified the sample sent on April 5, 2013 by adding TextBlock as the ItemTemplate of UXTreeView. (snippet code shown below)&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXTreeView x:Name="SampleControl1" Intersoft:DockPanel.Dock="Left" ItemsSource="{Binding OutLookNavigation}"
                        CollectionMemberPath="Nodes" ImageMemberPath="Image"
                        SelectedValuePath="Name" SelectedValue="{Binding SelectedValue, Mode=TwoWay}"
                        SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                        Background="{x:Null}"
                        BorderThickness="0" SelectionChanged="SampleControl1_SelectionChanged"&amp;gt;
    &amp;lt;Intersoft:UXTreeView.ItemTemplate&amp;gt;
        &amp;lt;DataTemplate&amp;gt;
            &amp;lt;TextBlock x:Name="TextBlockContainer" Text="{Binding Name}" /&amp;gt;
        &amp;lt;/DataTemplate&amp;gt;
    &amp;lt;/Intersoft:UXTreeView.ItemTemplate&amp;gt;
    &amp;lt;Intersoft:UXTreeView.ItemContainerStyle&amp;gt;
        &amp;lt;Style TargetType="Intersoft:UXTreeViewItem"&amp;gt;
            &amp;lt;!--&amp;lt;Setter Property="DisplayMemberPath" Value="Name" /&amp;gt;--&amp;gt;
            &amp;lt;Setter Property="CollectionMemberPath" Value="Nodes" /&amp;gt;
            &amp;lt;Setter Property="DisplayMode" Value="ContentAndImage" /&amp;gt;
            &amp;lt;Setter Property="ImageMemberPath" Value="Image" /&amp;gt;
            &amp;lt;Setter Property="IsExpanded" Value="True" /&amp;gt;
        &amp;lt;/Style&amp;gt;
    &amp;lt;/Intersoft:UXTreeView.ItemContainerStyle&amp;gt;
&amp;lt;/Intersoft:UXTreeView&amp;gt;&lt;/pre&gt;
&lt;h3&gt;Set TargetElement to TextBlock&lt;/h3&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;In the code behind, use the snippet code below to set the TargetElement to TextBlock.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;private void SampleControl1_SelectionChanged(object sender, Intersoft.Client.Framework.SelectionChangedEventArgs e)
{
    UXTreeView myTreeView = sender as UXTreeView;
    if (myTreeView != null &amp;amp;&amp;amp; myTreeView.SelectedElement != null)
    {
        UXTreeViewItem selectedItem = myTreeView.SelectedElement as UXTreeViewItem;
        if (selectedItem != null)
        {
            TextBlock textBlock = Utility.FindVisualDescendant(selectedItem, typeof(TextBlock)) as TextBlock;
            if (textBlock != null)
                this.SampleControl2.TargetElement = textBlock;
        }
    }
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Now the CallOut will have the target element to TextBlock instead of the UXTreeViewItem. Visually it will generate result as expected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I enclosed the modified version of UXPage1.xaml and UXPage1.xaml.cs as attachment. Please feel free to let me know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Tue, 16 Apr 2013 02:44:34 GMT</pubDate><dc:creator>MikeTurrento</dc:creator><description>&lt;p&gt;Hy Yudi!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;do you found some workaround for the CallOut pointer problem?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thx Mike&lt;/p&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Mon, 08 Apr 2013 08:08:10 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you for the prompt reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I forgot to adjust the pointer position of CallOut in my previous sample but it seemed that you have managed to modify it properly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;About the reported problem, where the pointer of CallOut doesn’t refer on the proper selected item when CallOut item is expanded, I will try to reproduce this on my local sample and provide you with solution or workaround.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Sat, 06 Apr 2013 10:01:03 GMT</pubDate><dc:creator>MikeTurrento</dc:creator><description>&lt;p&gt;Hy Yudi!&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I have found a solution based on your sample project and the example of the CallOut TargetElement (see parent thread) &lt;/p&gt;
&lt;p&gt;Once again thank you for the example.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I do it with a Intersoft.CallOut and animate the pointer. That feels great on the UI. :)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;One last question:&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The animated pointer of the CallOut control doesn't fit exactly with the selected Item.&lt;/p&gt;
&lt;p&gt;When the selected item of the tree isn't expand, the pointer is fitting to the item (see picture_4). &lt;/p&gt;
&lt;p&gt;But when a tree item is expand, the pointer goes - i think - to the middle of the hight of the expanded tree item. (see picture_5)&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Is there a possibility that the pointer remains at the position of the selected tree item, even if it is expanded?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Cheers&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Mike&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Sat, 06 Apr 2013 05:19:25 GMT</pubDate><dc:creator>MikeTurrento</dc:creator><description>&lt;p&gt;Hy Yudi!&lt;/p&gt;&lt;p&gt;Thx for the sample project.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;You use a Intersoft:CallOut in the sample. I want to use a Intersoft:UXCallOut instead of Intersoft:CallOut because the user experience is better and the PointerPosition follow the TreeItem I have selected.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Is that also possible? I fail because the UXCallOut only works with MouseOver effect. But not when I select a new TreeItem.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Currently I use this xaml code to show a UXCallOut with MouseOver effect. I would like to change this behavior so that the contents of the UXCallOut only changes when I select another TreeItem.&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;Local:HierarchyTemplateSelector x:Key="ItemTemplateSelector"&amp;gt;
    &amp;lt;Local:HierarchyTemplateSelector.AnlagenbaumItemTemplate&amp;gt;
        &amp;lt;Local:HierarchicalDataTemplate ItemsSource="{Binding Kinder}"&amp;gt;
            &amp;lt;Intersoft:UXCallOut HorizontalAlignment="Center" VerticalAlignment="Center" 
			 IsOpen="False" MouseClickAction="None"
			 MouseEnterAction="ShowPopup" MouseLeaveAction="HidePopup" 
			 DisableOverlay="True" PreferredPosition="Right"&amp;gt;
                &amp;lt;Intersoft:UXCallOut.CallOutEffect&amp;gt;
                    &amp;lt;DropShadowEffect BlurRadius="9" ShadowDepth="12"/&amp;gt;
                &amp;lt;/Intersoft:UXCallOut.CallOutEffect&amp;gt;
                &amp;lt;Intersoft:UXCallOut.Header&amp;gt;
                    &amp;lt;StackPanel Orientation="Horizontal"&amp;gt;
                        &amp;lt;Image Source="{Binding BildPfad}" Style="{StaticResource ImageStyle}" /&amp;gt;
                        &amp;lt;TextBlock Text="{Binding Name}" Style="{StaticResource TextBlockNormalStyle}" /&amp;gt;
                    &amp;lt;/StackPanel&amp;gt;
                &amp;lt;/Intersoft:UXCallOut.Header&amp;gt;
                &amp;lt;Grid Height="Auto" Width="Auto"&amp;gt;
                    &amp;lt;Local:AggregatWechselnForm/&amp;gt;
                &amp;lt;/Grid&amp;gt;
            &amp;lt;/Intersoft:UXCallOut&amp;gt;
        &amp;lt;/Local:HierarchicalDataTemplate&amp;gt;
    &amp;lt;/Local:HierarchyTemplateSelector.AnlagenbaumItemTemplate&amp;gt;
&amp;lt;/Local:HierarchyTemplateSelector&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p&gt;I tried to change the UXCallOut MouseClickAction property to "Show Popup", but this value did not produce the desired behavior.&lt;/p&gt;
&lt;p /&gt;
&lt;p&gt;I also would like to set a fixed position for the UXCallOut, so that only changes the pointer position.&lt;/p&gt;
&lt;p&gt;As in this example here: &lt;a href="http://live.clientui.com/#/Controls/CallOut/TargetElement" style="font-size: 10pt;"&gt;http://live.clientui.com/#/Controls/CallOut/TargetElement&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
&lt;p /&gt;
&lt;p /&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Fri, 05 Apr 2013 06:53:46 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I created a simple sample based on your given information about your scenario. in my sample, the page shows a UXTreeView on the left and CallOut next right to the UXTreeView control. The content of CallOut is changed based on the SelectedItem of UXTreeView.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Please have the attached sample evaluated on your end and let me know whether it helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Using UXCallOut to edit TreeItems</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Using-UXCallOut-to-edit-TreeItems/</link><pubDate>Thu, 04 Apr 2013 11:59:02 GMT</pubDate><dc:creator>MikeTurrento</dc:creator><description>&lt;p&gt;Hy ClientUI team,&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Im trying to use the UXCallOut Control to edit tree items.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;My szenario:&lt;/p&gt;
&lt;p&gt;On the left side I have a tree (plant tree), on the right side I have my desktop. (see picture_1)&lt;/p&gt;
&lt;p&gt;In the normal use case i dont want that the UXCallOut pop up. But when i switch in Plant Tree Edit Mode - i activate this mode with an icon on bottom of the tree - the desktop is disabled and the width of the plant tree is larger. (see picture_2)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;in this mode i want to select an tree item - not mouseover - and on the right side a UXCallOut should PopUp with the formular to edit this item. I have different item types, so it is necessary to load different forms to edit the item. it depends on the tree item. (see picture_3)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;is such a behaviour possible.&lt;/p&gt;</description></item></channel></rss>