﻿<?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 - Isssue with SplitButton under WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Isssue-with-SplitButton-under-WPF/</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>Isssue with SplitButton under WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Isssue-with-SplitButton-under-WPF/</link><pubDate>Sun, 18 Dec 2011 15:25:28 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Thank you very much for the valuable feedback.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;I will have this problem forwarded to ClientUI development team. Should I have any news regarding this thread, I will let you know.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;&lt;strong&gt;Edited on December 26, 2011 9:47 PM&lt;br /&gt;Reason: add/update work item information&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;This is considered as bug. A work item, work item #1103, has been submitted to ClientUI development team.&lt;br /&gt;
I will keep you updated with any news I heard from the team regarding work item #1103.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Isssue with SplitButton under WPF</title><link>http://www.intersoftsolutions.com/Community/ClientUI/Isssue-with-SplitButton-under-WPF/</link><pubDate>Fri, 16 Dec 2011 18:12:43 GMT</pubDate><dc:creator>terrell.jm@gmail.com</dc:creator><description>&lt;p&gt;Hi, I'm trying to implement a split button under wpf.  If I click on the drop down button and then click anywhere outside the control the default action is still implemented.  This does not happen under Silverlight for the same code.  I have attached a simple project to demonstrate.  Just click on the drop down button and then click somewhere else on the window, not the on the split button.  The default action will be trigged.  You will notice a commented line of code that can be used to partially correct this issue.  However I don't believe it will work if you set the command property rather then handle the click event. Thanks, Jonathan&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;&amp;lt;Window x:Class="WpfApplication27.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Intersoft="clr-namespace:Intersoft.Client.UI.Aqua;assembly=Intersoft.Client.UI.Aqua"
    Title="MainWindow"&amp;gt;
  &amp;lt;Grid&amp;gt;
    &amp;lt;Grid.RowDefinitions&amp;gt;
      &amp;lt;RowDefinition Height="Auto" /&amp;gt;
      &amp;lt;RowDefinition Height="*" /&amp;gt;
    &amp;lt;/Grid.RowDefinitions&amp;gt;
    &amp;lt;Intersoft:UXSplitButton Name="SampleControl1" Content="Save" Click="SampleControl1_OnClick" Width="100"&amp;gt;
      &amp;lt;Intersoft:UXMenuItem Header="Save and Create New" Click="UXMenuItem_OnClick" /&amp;gt;
      &amp;lt;Intersoft:UXMenuItem Header="Save and Create New With Same Store" Click="UXMenuItem_OnClick" /&amp;gt;
      &amp;lt;Intersoft:UXMenuItem Header="Save and Create New With Same Target" Click="UXMenuItem_OnClick" /&amp;gt;
    &amp;lt;/Intersoft:UXSplitButton&amp;gt;
  &amp;lt;/Grid&amp;gt;
&amp;lt;/Window&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;span style="font-family: 'courier new', tahoma; font-size: 12px; white-space: pre; background-color: rgb(255, 252, 225); "&gt;using System.Windows;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;using Intersoft.Client.UI.Aqua;
namespace WpfApplication27 {
  public partial class MainWindow {
    public MainWindow() {
      InitializeComponent();
    }
    private void SampleControl1_OnClick(object sender, RoutedEventArgs e) {
      MessageBox.Show("SampleControl1_Click");
      //if (!((UXSplitButton)sender).IsDropDownOpen) MessageBox.Show("SampleControl1_Click");
    }
    private void UXMenuItem_OnClick(object sender, Intersoft.Client.Framework.ISRoutedEventArgs e) {
      MessageBox.Show("UXMenuItem_Click");
    }
  }
}
&lt;/pre&gt;
&lt;p&gt; P.S. I tried to use the developer network to report this problem, but received a server error each time I logged on.&lt;/p&gt;
&lt;p /&gt;</description></item></channel></rss>