﻿<?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 - UXWindow General Template Style</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindow-General-Template-Style/</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>UXWindow General Template Style</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindow-General-Template-Style/</link><pubDate>Tue, 11 Jun 2013 04:51:06 GMT</pubDate><dc:creator>TheHaythemKaroui</dc:creator><category>Ux window Style Template Buttons</category><description>&lt;p&gt;Thank you for your precious help ...&lt;/p&gt;&lt;p&gt;Im gonna test this...&lt;/p&gt;
&lt;p&gt;Have a nice day. &lt;/p&gt;</description></item><item><title>UXWindow General Template Style</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindow-General-Template-Style/</link><pubDate>Tue, 11 Jun 2013 03:32:35 GMT</pubDate><dc:creator>yudi</dc:creator><category>Ux window Style Template Buttons</category><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I have modified the style of UXWindow so that now the buttons will always be on the top right and the header will always be on the top left. In order to handle the closing and minimizing button, I simply use the built-in command as shown in the following snippet code.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Intersoft:UXButton x:Name="uXBtnClose" Grid.Column="1" Command="command:WindowCommands.Close"/&amp;gt;
&amp;lt;Intersoft:UXButton x:Name="uXBtnMinimise" Grid.Column="2" Command="command:WindowCommands.Minimize"/&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Please have the modified evaluated on your and let us hear whether this helps or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXWindow General Template Style</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindow-General-Template-Style/</link><pubDate>Mon, 10 Jun 2013 04:31:52 GMT</pubDate><dc:creator>TheHaythemKaroui</dc:creator><category>Ux window Style Template Buttons</category><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;thanx for your reply, the problem persists because when we remove the following width attributes the buttons are put on the left:&lt;/p&gt;&lt;pre&gt;                            &amp;lt;Grid.ColumnDefinitions &amp;gt;
                                &amp;lt;ColumnDefinition &lt;span style="color: rgb(255, 0, 0);"&gt;Width="575"&lt;/span&gt; /&amp;gt;
                                &amp;lt;ColumnDefinition &lt;span style="color: rgb(255, 0, 0);"&gt;Width="25"&lt;/span&gt;/&amp;gt;
                                &amp;lt;ColumnDefinition &lt;span style="color: rgb(255, 0, 0);"&gt;Width="25"&lt;/span&gt;/&amp;gt;
                            &amp;lt;/Grid.ColumnDefinitions&amp;gt;&lt;/pre&gt;
&lt;p&gt; and if i leave it like that when i resize the window, the buttons are hidden, not always stack on the topper right of the window.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;Besides,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I want to know (if possible) how to handle closing and minimizing buttons events from the my style file...&lt;/p&gt;
&lt;p&gt;Here is my modified code.&lt;/p&gt;
&lt;p&gt;I tried somthing in the &lt;span style="color: rgb(155, 187, 89);"&gt;SecondTry.xaml&lt;/span&gt; file; I added this property&lt;/p&gt;&lt;pre&gt;&amp;lt;Setter Property="HeaderHorizontalAlignment" Value="Right"/&amp;gt;&lt;/pre&gt;
&lt;p&gt;Tthe buttons stack now on the right side and move with window. However, the &lt;span style="color: rgb(255, 0, 0);"&gt;title of the window&lt;/span&gt; with this property &lt;span style="color: rgb(255, 0, 0);"&gt;can never be centred or on the left side of the window&lt;/span&gt;...&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(227, 108, 9);"&gt;And i still can not handle button events from the style page :(&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Waiting forward for your answer.&lt;/p&gt;
&lt;p&gt;Have a nice day&lt;/p&gt;</description></item><item><title>UXWindow General Template Style</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindow-General-Template-Style/</link><pubDate>Sun, 09 Jun 2013 17:45:02 GMT</pubDate><dc:creator>yudi</dc:creator><category>Ux window Style Template Buttons</category><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you for the snippet code of UXWindow style.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I started my investigation by adding the provided style into my UXWindow page. However there are some values of the properties that I can’t find the reference. For example:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;Setter Property="ContentBackground" Value="{StaticResource WindowContentBackgroundColor}"/&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;So I decided to set those properties with a random value. Next, I tried to add controls into the UXWindow page. Unfortunately, I was unable to reproduce the reported problem. The UXWindow page accepts new controls and the buttons (close button and minimize button) can be seen on the upper-right corner of the window.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;I suspect that there is another style which may cause the reported problem. Please have the modified xaml page evaluated on your end and let us hear your response.&lt;/span&gt;&lt;/p&gt;&lt;blockquote&gt;...And how can i Handle Buttons events (Close and Minimise)?...&lt;/blockquote&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;You can use the built-in command for the buttons (close button and minimize button).&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXWindow General Template Style</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXWindow-General-Template-Style/</link><pubDate>Wed, 05 Jun 2013 10:55:17 GMT</pubDate><dc:creator>TheHaythemKaroui</dc:creator><category>Ux window Style Template Buttons</category><description>&lt;p&gt;Hi!&lt;/p&gt;&lt;p&gt;I need to set up my UXwindows template style the way i can use it any time i create a new Ux window in my UXdesktop project.&lt;/p&gt;
&lt;p&gt;I did the following:&lt;br /&gt;
I created a style foy my uxwindow.&lt;/p&gt;
&lt;p&gt;here is my issue : when i try to add buttons (close and minimize) inside the style that does not work.&lt;br /&gt;
i copy you my code:&lt;/p&gt;&lt;pre&gt;&amp;lt;Style x:Key="WindowStyle" TargetType="Intersoft:UXWindow"&amp;gt;
        &lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;&amp;lt;Setter Property="HeaderTemplate" &amp;gt;
            &amp;lt;Setter.Value&amp;gt;
                &amp;lt;DataTemplate &amp;gt;
                    &amp;lt;Grid x:Name="LayoutRoot"&amp;gt;
                        &amp;lt;Grid.RowDefinitions&amp;gt;
                            &amp;lt;RowDefinition /&amp;gt;
                        &amp;lt;/Grid.RowDefinitions&amp;gt;
                        &amp;lt;Grid.ColumnDefinitions &amp;gt;
                            &amp;lt;ColumnDefinition Width="575*" /&amp;gt;
                            &amp;lt;ColumnDefinition Width="25"/&amp;gt;
                            &amp;lt;ColumnDefinition Width="25"/&amp;gt;
                        &amp;lt;/Grid.ColumnDefinitions&amp;gt;
                        &amp;lt;TextBlock Text="{Binding BindsDirectlyToSource=True}" Style="{StaticResource HeaderStyle}"/&amp;gt;
                        &amp;lt;Intersoft:UXButton x:Name="uXBtnClose" Style="{StaticResource BarBtnCloseStyle}"  /&amp;gt;
                        &amp;lt;Intersoft:UXButton x:Name="uXBtnMinimise" Style="{StaticResource BarBtnMinimiseStyle}"  /&amp;gt;
                        
                    &amp;lt;/Grid&amp;gt;
                    
                &amp;lt;/DataTemplate&amp;gt;
            &amp;lt;/Setter.Value&amp;gt;&lt;/strong&gt;
        &amp;lt;/Setter&amp;gt;
        &amp;lt;Setter Property="DropShadow"&amp;gt;
            &amp;lt;Setter.Value&amp;gt;
                &amp;lt;DropShadowEffect/&amp;gt;
            &amp;lt;/Setter.Value&amp;gt;&lt;/span&gt;
        &amp;lt;/Setter&amp;gt;
        &amp;lt;Setter Property="WindowStartupLocation" Value="CenterScreen"/&amp;gt;
        &amp;lt;Setter Property="Height" Value="480"/&amp;gt;
        &amp;lt;Setter Property="Width" Value="640"/&amp;gt;
        &amp;lt;Setter Property="BorderBrush" Value="{x:Null}"/&amp;gt;
        &amp;lt;Setter Property="ContentBackground" Value="{StaticResource WindowContentBackgroundColor}"/&amp;gt;
        &amp;lt;Setter Property="ContentBorderBrush" Value="{StaticResource WindowContentBorderBrush}"/&amp;gt;      
        &amp;lt;Setter Property="Foreground" Value="{StaticResource WindowForeground}"/&amp;gt;
        &amp;lt;Setter Property="HeaderForeground" Value="White"/&amp;gt;
        &amp;lt;Setter Property="InnerBackground" Value="{StaticResource WindowInnerBackground}"/&amp;gt;
        &amp;lt;Setter Property="HeaderDisplayMode" Value="Content"/&amp;gt;
        &amp;lt;Setter Property="Background" Value="{StaticResource WindowBackground}"/&amp;gt;
        &amp;lt;Setter Property="InnerBorderBrush" Value="{x:Null}"/&amp;gt;
        &amp;lt;Setter Property="ContentBorderThickness" Value="0"/&amp;gt;
        &amp;lt;Setter Property="BorderThickness" Value="0"/&amp;gt;
        &amp;lt;Setter Property="CornerRadius" Value="15"/&amp;gt;
        &amp;lt;Setter Property="HeaderMargin" Value="7"/&amp;gt;
        &amp;lt;Setter Property="InnerBorderThickness" Value="0"/&amp;gt;
        &amp;lt;Setter Property="ControlBoxVisibility" Value="Collapsed"/&amp;gt;
        &amp;lt;Setter Property="FontSize" Value="16"/&amp;gt;
        &amp;lt;Setter Property="FontFamily" Value="Euphemia"/&amp;gt;
        &amp;lt;Setter Property="FontWeight" Value="Bold"/&amp;gt;
        &amp;lt;Setter Property="BusyText" Value="Please Wait"/&amp;gt;
        
        
    &amp;lt;/Style&amp;gt;&lt;/pre&gt;
&lt;p&gt; when i remove the underlined part the window accepts new controls, but i will not have close and minimize button , and i put it back all my controls disappear!!!&lt;/p&gt;
&lt;p&gt;example&lt;br /&gt;
this is how my window should look like : Image_thummb16.png
and this is what i get : ResultImage.png&lt;/p&gt;
&lt;p&gt;It seems like i created a stunned template.. how can i fix that ???&lt;br /&gt;
And how can i Handle Buttons events (Close and Minimise) ????&lt;/p&gt;</description></item></channel></rss>