<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kenneth Ham</title>
	<atom:link href="http://www.kennethham.com/wp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kennethham.com/wp</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 18:34:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>iPhone Style Dialog UI for WPF</title>
		<link>http://www.kennethham.com/wp/2012/05/iphone-style-dialog-ui-for-wpf/</link>
		<comments>http://www.kennethham.com/wp/2012/05/iphone-style-dialog-ui-for-wpf/#comments</comments>
		<pubDate>Thu, 17 May 2012 18:29:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://www.kennethham.com/wp/?p=432</guid>
		<description><![CDATA[The iPhone’s interface is the holy grail of design, so let’s see if we can get a similar look in WPF. The image below is what we are trying to achieve: &#160; iPhone UI &#160; WPF iPhone Dialog This dialog has a nice pop-in effect when it’s set to visible and it will automatically resize [...]]]></description>
			<content:encoded><![CDATA[<p>The iPhone’s interface is the holy grail of design, so let’s see if we can get a similar look in WPF. The image below is what we are trying to achieve:</p>
<p>&nbsp;</p>
<p align="center"><a href="http://www.kennethham.com/wp/wp-content/uploads/2012/05/modal_dialog.jpg">iPhone UI<img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px; border: 0px;" title="modal_dialog" src="http://www.kennethham.com/wp/wp-content/uploads/2012/05/modal_dialog_thumb.jpg" alt="modal_dialog" width="184" height="276" border="0" /></a></p>
<p>&nbsp;</p>
<p align="center">WPF iPhone Dialog</p>
<p align="center"><a href="http://www.kennethham.com/wp/wp-content/uploads/2012/05/iphone_dialog.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="iphone_dialog" src="http://www.kennethham.com/wp/wp-content/uploads/2012/05/iphone_dialog_thumb.png" alt="iphone_dialog" width="214" height="324" border="0" /></a></p>
<p align="center">
<p align="left">This dialog has a nice pop-in effect when it’s set to visible and it will automatically resize to its contents and still look nice.<span id="more-432"></span></p>
<p>Alright, enough talk, here’s the code for the window:</p>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:ac39fde3-2ed1-436f-8247-4c6db3e60285" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Code</div>
<div style="background-color: #ffffff; overflow: auto; padding: 2px 5px; white-space: nowrap;"><span style="color: #a31515;">    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Grid</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border</span><span style="color: #ff0000;"> x</span><span style="color: #0000ff;">:</span><span style="color: #ff0000;">Name</span><span style="color: #0000ff;">=&#8221;Popup&#8221;</span><span style="color: #ff0000;"> SnapsToDevicePixels</span><span style="color: #0000ff;">=&#8221;True&#8221;</span><span style="color: #ff0000;"> Opacity</span><span style="color: #0000ff;">=&#8221;.96&#8243;</span><span style="color: #ff0000;"> CornerRadius</span><span style="color: #0000ff;">=&#8221;9.5&#8243;&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border</span><span style="color: #ff0000;"> BorderBrush</span><span style="color: #0000ff;">=&#8221;#666&#8243;</span><span style="color: #ff0000;"> BorderThickness</span><span style="color: #0000ff;">=&#8221;.5&#8243;</span><span style="color: #ff0000;"> CornerRadius</span><span style="color: #0000ff;">=&#8221;9.5&#8243;&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border</span><span style="color: #ff0000;"> BorderBrush</span><span style="color: #0000ff;">=&#8221;#99FFFFFF&#8221;</span><span style="color: #ff0000;"> BorderThickness</span><span style="color: #0000ff;">=&#8221;2&#8243;</span><span style="color: #ff0000;"> CornerRadius</span><span style="color: #0000ff;">=&#8221;7.5&#8243;&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Grid</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Ellipse</span><span style="color: #ff0000;"> Height</span><span style="color: #0000ff;">=&#8221;75&#8243;</span><span style="color: #ff0000;"> VerticalAlignment</span><span style="color: #0000ff;">=&#8221;Top&#8221;</span><span style="color: #ff0000;"> HorizontalAlignment</span><span style="color: #0000ff;">=&#8221;Stretch&#8221;</span><span style="color: #ff0000;"> Margin</span><span style="color: #0000ff;">=&#8221;0 -35 0 0&#8243;</span><span style="color: #ff0000;"> Opacity</span><span style="color: #0000ff;">=&#8221;.2&#8243;&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Ellipse.Fill</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">LinearGradientBrush</span><span style="color: #ff0000;"> StartPoint</span><span style="color: #0000ff;">=&#8221;0,0&#8243;</span><span style="color: #ff0000;"> EndPoint</span><span style="color: #0000ff;">=&#8221;0,1&#8243;&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;1&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#33FFFFFF&#8221;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;.467&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#FFFFFFFF&#8221;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;.466&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#00FFFFFF&#8221;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#00FFFFFF&#8221;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">LinearGradientBrush</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Ellipse.Fill</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Ellipse</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border</span><span style="color: #ff0000;"> Padding</span><span style="color: #0000ff;">=&#8221;20&#8243;</span><span style="color: #ff0000;"> CornerRadius</span><span style="color: #0000ff;">=&#8221;7&#8243;&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DockPanel</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">TextBlock</span><span style="color: #ff0000;"> DockPanel.Dock</span><span style="color: #0000ff;">=&#8221;Top&#8221;</span><span style="color: #ff0000;"> Text</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> Title}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> Foreground</span><span style="color: #0000ff;">=&#8221;White&#8221;</span><span style="color: #ff0000;"> FontSize</span><span style="color: #0000ff;">=&#8221;16pt&#8221;</span><span style="color: #ff0000;"> HorizontalAlignment</span><span style="color: #0000ff;">=&#8221;Center&#8221;</span><span style="color: #ff0000;"> FontWeight</span><span style="color: #0000ff;">=&#8221;SemiBold&#8221;</span><span style="color: #ff0000;"> TextWrapping</span><span style="color: #0000ff;">=&#8221;Wrap&#8221;&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">TextBlock</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Button</span><span style="color: #ff0000;"> FontFamily</span><span style="color: #0000ff;">=&#8221;Verdana&#8221;</span><span style="color: #ff0000;"> x</span><span style="color: #0000ff;">:</span><span style="color: #ff0000;">Name</span><span style="color: #0000ff;">=&#8221;btnClose&#8221;</span><span style="color: #ff0000;"> DockPanel.Dock</span><span style="color: #0000ff;">=&#8221;Bottom&#8221;</span><span style="color: #ff0000;"> Margin</span><span style="color: #0000ff;">=&#8221;0 10 0 0&#8243;</span><span style="color: #ff0000;"> Template</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">StaticResource</span><span style="color: #ff0000;"> dialogButton}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> Content</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> CloseButtonCaption}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> Width</span><span style="color: #0000ff;">=&#8221;100&#8243;</span><span style="color: #ff0000;"> Foreground</span><span style="color: #0000ff;">=&#8221;White&#8221;</span><span style="color: #ff0000;"> Command</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> Close}</span><span style="color: #0000ff;">&#8220;&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Button.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style</span><span style="color: #ff0000;"> TargetType</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">x</span><span style="color: #0000ff;">:</span><span style="color: #a31515;">Type</span><span style="color: #ff0000;"> Button}</span><span style="color: #0000ff;">&#8220;&gt;</span><br />
<span style="color: #a31515;">                                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Visibility&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;Collapsed&#8221;&gt;&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DataTrigger</span><span style="color: #ff0000;"> Binding</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> IsCloseButtonVisible}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;True&#8221;&gt;</span><br />
<span style="color: #a31515;">                                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Visibility&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;Visible&#8221;&gt;&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DataTrigger</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Button.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Button</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DockPanel</span><span style="color: #ff0000;"> Margin</span><span style="color: #0000ff;">=&#8221;0 20 0 20&#8243;&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Image</span><span style="color: #ff0000;"> Source</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> ImagePath}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> Stretch</span><span style="color: #0000ff;">=&#8221;None&#8221;</span><span style="color: #ff0000;"> DockPanel.Dock</span><span style="color: #0000ff;">=&#8221;Left&#8221;&gt;&lt;/</span><span style="color: #a31515;">Image</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ScrollViewer</span><span style="color: #ff0000;"> MaxHeight</span><span style="color: #0000ff;">=&#8221;500&#8243;</span><span style="color: #ff0000;"> MaxWidth</span><span style="color: #0000ff;">=&#8221;500&#8243;</span><span style="color: #ff0000;"> VerticalScrollBarVisibility</span><span style="color: #0000ff;">=&#8221;Auto&#8221;</span><span style="color: #ff0000;"> HorizontalScrollBarVisibility</span><span style="color: #0000ff;">=&#8221;Auto&#8221;</span><span style="color: #ff0000;"> Foreground</span><span style="color: #0000ff;">=&#8221;White&#8221;&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ContentPresenter</span><span style="color: #ff0000;"> Content</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> Content}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> VerticalAlignment</span><span style="color: #0000ff;">=&#8221;Center&#8221;&gt;&lt;/</span><span style="color: #a31515;">ContentPresenter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">ScrollViewer</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DockPanel</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DockPanel</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Grid</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border.Background</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">RadialGradientBrush</span><span style="color: #ff0000;"> GradientOrigin</span><span style="color: #0000ff;">=&#8221;0.5,0.5&#8243;</span><span style="color: #ff0000;"> Center</span><span style="color: #0000ff;">=&#8221;0.5,0.5&#8243; &gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">RadialGradientBrush.GradientStops</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#1E2D58&#8243;</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;1&#8243; /&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#324169&#8243;</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;0&#8243; /&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">RadialGradientBrush.GradientStops</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">RadialGradientBrush</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border.Background</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border.RenderTransform</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ScaleTransform</span><span style="color: #ff0000;"> ScaleX</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> ScaleY</span><span style="color: #0000ff;">=&#8221;0&#8243;&gt;&lt;/</span><span style="color: #a31515;">ScaleTransform</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border.RenderTransform</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style</span><span style="color: #ff0000;"> TargetType</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">x</span><span style="color: #0000ff;">:</span><span style="color: #a31515;">Type</span><span style="color: #ff0000;"> Border}</span><span style="color: #0000ff;">&#8220;&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Visibility&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;Collapsed&#8221;&gt;&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DataTrigger</span><span style="color: #ff0000;"> Binding</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> IsVisible}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;true&#8221;&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Visibility&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;Visible&#8221;&gt;&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DataTrigger.EnterActions</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">BeginStoryboard</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Storyboard</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimation</span><br />
<span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(FrameworkElement.RenderTransform).(ScaleTransform.ScaleY)&#8221;</span><br />
<span style="color: #ff0000;"> To</span><span style="color: #0000ff;">=&#8221;1.05&#8243;</span><br />
<span style="color: #ff0000;"> Duration</span><span style="color: #0000ff;">=&#8221;0:0:.15&#8243;</span><br />
<span style="color: #ff0000;"> DecelerationRatio</span><span style="color: #0000ff;">=&#8221;.9&#8243;&gt;&lt;/</span><span style="color: #a31515;">DoubleAnimation</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimation</span><br />
<span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(FrameworkElement.RenderTransform).(ScaleTransform.ScaleY)&#8221;</span><br />
<span style="color: #ff0000;"> To</span><span style="color: #0000ff;">=&#8221;1&#8243;</span><br />
<span style="color: #ff0000;"> BeginTime</span><span style="color: #0000ff;">=&#8221;0:0:.15&#8243;</span><br />
<span style="color: #ff0000;"> Duration</span><span style="color: #0000ff;">=&#8221;0:0:.1&#8243;</span><br />
<span style="color: #ff0000;"> AccelerationRatio</span><span style="color: #0000ff;">=&#8221;.9&#8243;&gt;&lt;/</span><span style="color: #a31515;">DoubleAnimation</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimation</span><br />
<span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(FrameworkElement.RenderTransform).(ScaleTransform.ScaleX)&#8221;</span><br />
<span style="color: #ff0000;"> To</span><span style="color: #0000ff;">=&#8221;1.05&#8243;</span><br />
<span style="color: #ff0000;"> Duration</span><span style="color: #0000ff;">=&#8221;0:0:.15&#8243;</span><br />
<span style="color: #ff0000;"> DecelerationRatio</span><span style="color: #0000ff;">=&#8221;.9&#8243;&gt;&lt;/</span><span style="color: #a31515;">DoubleAnimation</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DoubleAnimation</span><br />
<span style="color: #ff0000;"> Storyboard.TargetProperty</span><span style="color: #0000ff;">=&#8221;(FrameworkElement.RenderTransform).(ScaleTransform.ScaleX)&#8221;</span><br />
<span style="color: #ff0000;"> To</span><span style="color: #0000ff;">=&#8221;1&#8243;</span><br />
<span style="color: #ff0000;"> BeginTime</span><span style="color: #0000ff;">=&#8221;0:0:.15&#8243;</span><br />
<span style="color: #ff0000;"> Duration</span><span style="color: #0000ff;">=&#8221;0:0:.1&#8243;</span><br />
<span style="color: #ff0000;"> AccelerationRatio</span><span style="color: #0000ff;">=&#8221;.9&#8243;&gt;&lt;/</span><span style="color: #a31515;">DoubleAnimation</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Storyboard</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">BeginStoryboard</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DataTrigger.EnterActions</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DataTrigger.ExitActions</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #008000;">&lt;!&#8211;&lt;BeginStoryboard&gt;</span><br />
<span style="color: #008000;">                                &lt;Storyboard&gt;</span><br />
<span style="color: #008000;">                                    &lt;DoubleAnimation </span><br />
<span style="color: #008000;">                                            Storyboard.TargetProperty=&#8221;(FrameworkElement.LayoutTransform).(ScaleTransform.ScaleY)&#8221;</span><br />
<span style="color: #008000;">                                            To=&#8221;1.05&#8243;</span><br />
<span style="color: #008000;">                                            Duration=&#8221;0:0:.1&#8243;</span><br />
<span style="color: #008000;">                                            DecelerationRatio=&#8221;.9&#8243;&gt;&lt;/DoubleAnimation&gt;</span><br />
<span style="color: #008000;">                                    &lt;DoubleAnimation </span><br />
<span style="color: #008000;">                                            Storyboard.TargetProperty=&#8221;(FrameworkElement.LayoutTransform).(ScaleTransform.ScaleY)&#8221;</span><br />
<span style="color: #008000;">                                            To=&#8221;0&#8243;</span><br />
<span style="color: #008000;">                                            BeginTime=&#8221;0:0:.1&#8243;</span><br />
<span style="color: #008000;">                                            Duration=&#8221;0:0:.15&#8243;</span><br />
<span style="color: #008000;">                                            AccelerationRatio=&#8221;.9&#8243;&gt;&lt;/DoubleAnimation&gt;</span><br />
<span style="color: #008000;">                                    &lt;DoubleAnimation </span><br />
<span style="color: #008000;">                                            Storyboard.TargetProperty=&#8221;(FrameworkElement.LayoutTransform).(ScaleTransform.ScaleX)&#8221;</span><br />
<span style="color: #008000;">                                            To=&#8221;1.05&#8243;</span><br />
<span style="color: #008000;">                                            Duration=&#8221;0:0:.1&#8243;</span><br />
<span style="color: #008000;">                                            DecelerationRatio=&#8221;.9&#8243;&gt;&lt;/DoubleAnimation&gt;</span><br />
<span style="color: #008000;">                                    &lt;DoubleAnimation </span><br />
<span style="color: #008000;">                                            Storyboard.TargetProperty=&#8221;(FrameworkElement.LayoutTransform).(ScaleTransform.ScaleX)&#8221;</span><br />
<span style="color: #008000;">                                            To=&#8221;0&#8243;</span><br />
<span style="color: #008000;">                                            BeginTime=&#8221;0:0:.1&#8243;</span><br />
<span style="color: #008000;">                                            Duration=&#8221;0:0:.15&#8243;</span><br />
<span style="color: #008000;">                                            AccelerationRatio=&#8221;.9&#8243;&gt;&lt;/DoubleAnimation&gt;</span><br />
<span style="color: #008000;">                                &lt;/Storyboard&gt;</span><br />
<span style="color: #008000;">                            &lt;/BeginStoryboard&gt;&#8211;&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DataTrigger.ExitActions</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DataTrigger</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Grid</span><span style="color: #0000ff;">&gt;</span></p>
</div>
</div>
</div>
<p>&nbsp;</p>
<p>Add this to your App.xaml in &lt;Application.Resources&gt; to get matching dialog buttons:</p>
<div id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:de0ae059-005b-4e05-b63d-60e80998f43d" class="wlWriterEditableSmartContent" style="margin: 0px; display: inline; float: none; padding: 0px;">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt;">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px;">Code</div>
<div style="background-color: #ffffff; overflow: auto; padding: 2px 5px; white-space: nowrap;"><span style="color: #a31515;">        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ControlTemplate</span><span style="color: #ff0000;"> TargetType</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">x</span><span style="color: #0000ff;">:</span><span style="color: #a31515;">Type</span><span style="color: #ff0000;"> Button}</span><span style="color: #0000ff;">&#8220;</span><span style="color: #ff0000;"> x</span><span style="color: #0000ff;">:</span><span style="color: #ff0000;">Key</span><span style="color: #0000ff;">=&#8221;dialogButton&#8221;&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border</span><span style="color: #ff0000;"> CornerRadius</span><span style="color: #0000ff;">=&#8221;5&#8243;</span><span style="color: #ff0000;"> BorderBrush</span><span style="color: #0000ff;">=&#8221;#A4A9B5&#8243;</span><span style="color: #ff0000;"> BorderThickness</span><span style="color: #0000ff;">=&#8221;0 0 0 1&#8243;&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border</span><span style="color: #ff0000;"> Padding</span><span style="color: #0000ff;">=&#8221;20 10&#8243;</span><span style="color: #ff0000;"> BorderBrush</span><span style="color: #0000ff;">=&#8221;#5F6B89&#8243;</span><span style="color: #ff0000;"> BorderThickness</span><span style="color: #0000ff;">=&#8221;0 1 0 0&#8243;&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ContentPresenter</span><span style="color: #ff0000;"> Content</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> RelativeSource</span><span style="color: #0000ff;">={</span><span style="color: #a31515;">RelativeSource</span><span style="color: #ff0000;"> TemplatedParent}</span><span style="color: #0000ff;">,</span><span style="color: #ff0000;"> Path</span><span style="color: #0000ff;">=Content}&#8221;</span><span style="color: #ff0000;"> HorizontalAlignment</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> RelativeSource</span><span style="color: #0000ff;">={</span><span style="color: #a31515;">RelativeSource</span><span style="color: #ff0000;"> TemplatedParent}</span><span style="color: #0000ff;">,</span><span style="color: #ff0000;"> Path</span><span style="color: #0000ff;">=HorizontalContentAlignment}&#8221;&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">ContentPresenter.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style</span><span style="color: #ff0000;"> TargetType</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">x</span><span style="color: #0000ff;">:</span><span style="color: #a31515;">Type</span><span style="color: #ff0000;"> ContentPresenter}</span><span style="color: #0000ff;">&#8220;&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">DataTrigger</span><span style="color: #ff0000;"> Binding</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">Binding</span><span style="color: #ff0000;"> RelativeSource</span><span style="color: #0000ff;">={</span><span style="color: #a31515;">RelativeSource</span><span style="color: #ff0000;"> TemplatedParent}</span><span style="color: #0000ff;">,</span><span style="color: #ff0000;"> Path</span><span style="color: #0000ff;">=Content}&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">x</span><span style="color: #0000ff;">:</span><span style="color: #a31515;">Null}</span><span style="color: #0000ff;">&#8220;&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Visibility&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;Collapsed&#8221;&gt;&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">DataTrigger</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">ContentPresenter.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">ContentPresenter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Border.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style</span><span style="color: #ff0000;"> TargetType</span><span style="color: #0000ff;">=&#8221;{</span><span style="color: #a31515;">x</span><span style="color: #0000ff;">:</span><span style="color: #a31515;">Type</span><span style="color: #ff0000;"> Border}</span><span style="color: #0000ff;">&#8220;&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;CornerRadius&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;5&#8243;&gt;&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Background&#8221;&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter.Value</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">LinearGradientBrush</span><span style="color: #ff0000;"> StartPoint</span><span style="color: #0000ff;">=&#8221;0,0&#8243;</span><span style="color: #ff0000;"> EndPoint</span><span style="color: #0000ff;">=&#8221;0,1&#8243;&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#A4A9B5&#8243;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;.499&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#727A8E&#8221;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;.499&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#505A72&#8243;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;1&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#686F87&#8243;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">LinearGradientBrush</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Setter.Value</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Trigger</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;IsMouseOver&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;True&#8221;&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Background&#8221;&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter.Value</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                            </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">LinearGradientBrush</span><span style="color: #ff0000;"> StartPoint</span><span style="color: #0000ff;">=&#8221;0,0&#8243;</span><span style="color: #ff0000;"> EndPoint</span><span style="color: #0000ff;">=&#8221;0,1&#8243;&gt;</span><br />
<span style="color: #a31515;">                                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;0&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#B5BBC9&#8243;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;.499&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#7E879F&#8221;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;.499&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#5F6B89&#8243;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                                </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">GradientStop</span><span style="color: #ff0000;"> Offset</span><span style="color: #0000ff;">=&#8221;1&#8243;</span><span style="color: #ff0000;"> Color</span><span style="color: #0000ff;">=&#8221;#767F9B&#8221;&gt;&lt;/</span><span style="color: #a31515;">GradientStop</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">LinearGradientBrush</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Setter.Value</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;</span><span style="color: #a31515;">Setter</span><span style="color: #ff0000;"> Property</span><span style="color: #0000ff;">=&#8221;Cursor&#8221;</span><span style="color: #ff0000;"> Value</span><span style="color: #0000ff;">=&#8221;Hand&#8221;&gt;</span><br />
<span style="color: #a31515;">                                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Setter</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Trigger</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style.Triggers</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                    </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border.Style</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">                </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">            </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">Border</span><span style="color: #0000ff;">&gt;</span><br />
<span style="color: #a31515;">        </span><span style="color: #0000ff;">&lt;/</span><span style="color: #a31515;">ControlTemplate</span><span style="color: #0000ff;">&gt;</span></div>
</div>
</div>
<p>&nbsp;</p>
<p>After copying this code over, you should have a functioning iPhone dialog box. I purposely commented out a dropshadow for the window as it was causing some diagonal tearing during and after the dialog’s pop-in animation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2012/05/iphone-style-dialog-ui-for-wpf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Renew ClickOnce Certificates without Prompting User to Install</title>
		<link>http://www.kennethham.com/wp/2012/03/renew-clickonce-certificates-without-prompting-user-to-install/</link>
		<comments>http://www.kennethham.com/wp/2012/03/renew-clickonce-certificates-without-prompting-user-to-install/#comments</comments>
		<pubDate>Sun, 11 Mar 2012 17:31:36 +0000</pubDate>
		<dc:creator>kham</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[C++ .net]]></category>
		<category><![CDATA[VB .net]]></category>

		<guid isPermaLink="false">http://www.kennethham.com/wp/?p=418</guid>
		<description><![CDATA[If you&#8217;ve deployed a ClickOnce project using the default autogenerated key, you&#8217;ll find that it will expire a year later forcing you to redeploy your solution with a new key. This will force your users that are on automatic updates to confirm the download, which may be undesirable. Microsoft&#8217;s solution is to hand you the [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve deployed a ClickOnce project using the default autogenerated key, you&#8217;ll find that it will expire a year later forcing you to redeploy your solution with a new key. This will force your users that are on automatic updates to confirm the download, which may be undesirable.</p>
<p><span id="more-418"></span></p>
<p>Microsoft&#8217;s solution is to hand you the C++ source code to renew the certificate and let you compile it yourself. Unfortunately, several people have pointed out that the source code they provide doesn&#8217;t compile.</p>
<p>Here&#8217;s a version of RenewCert that is ready to use:</p>
<p><a href="http://www.kennethham.com/wp/wp-content/uploads/2012/03/RenewCert.zip">RenewCert</a></p>
<p>To use, open up the command prompt and type the following:</p>
<p>renewcert[optional]Example: renewcert oldcert.pfx newcert.pfx &#8220;CN=MyNewCert&#8221; MySuperSecretPassword</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2012/03/renew-clickonce-certificates-without-prompting-user-to-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Glossy Gradient XAML Generator</title>
		<link>http://www.kennethham.com/wp/2010/11/glossy-gradient-xaml-generator/</link>
		<comments>http://www.kennethham.com/wp/2010/11/glossy-gradient-xaml-generator/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 22:43:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://www.kennethham.com/wp/2010/11/glossy-gradient-xaml-generator/</guid>
		<description><![CDATA[In my ongoing effort to mock the Office 2007 UI, I wrote this XAML gradient generator: &#160; &#160; This tool changes the brightness and saturation of a given color, so, for best results, try to choose a color that isn’t maxed out (255) in either brightness or saturation. Download]]></description>
			<content:encoded><![CDATA[<p>In my ongoing effort to mock the Office 2007 UI, I wrote this XAML gradient generator: </p>
<p>&#160;</p>
<p><a href="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="image" border="0" alt="image" src="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image_thumb3.png" width="430" height="376" /></a></p>
<p>&#160;</p>
<p>This tool changes the brightness and saturation of a given color, so, for best results, try to choose a color that isn’t maxed out (255) in either brightness or saturation.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:fb3a1972-4489-4e52-abe7-25a00bb07fdf:a67c7a71-f034-4c75-b61a-dbe78d990a3b" class="wlWriterEditableSmartContent">
<p> <a href="http://www.kennethham.com/wp/wp-content/uploads/2010/11/GlossyGradientGenerator.exe" target="_blank">Download</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2010/11/glossy-gradient-xaml-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force WPF to Use Windows 7/Aero Theming in Classic Mode</title>
		<link>http://www.kennethham.com/wp/2010/11/force-wpf-to-use-windows-7aero-theming-in-classic-mode/</link>
		<comments>http://www.kennethham.com/wp/2010/11/force-wpf-to-use-windows-7aero-theming-in-classic-mode/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 11:03:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://www.kennethham.com/wp/2010/11/force-wpf-to-use-windows-7aero-theming-in-classic-mode/</guid>
		<description><![CDATA[I had just finished a WPF project with some custom controls that mesh well with the default Win7/Vista theme only to find that switching to classic mode made my application look terrible. &#160; Uhh no… &#160; Since our users are running Windows XP in classic mode, this clearly needed to be fixed. Luckily, we can [...]]]></description>
			<content:encoded><![CDATA[<p>I had just finished a WPF project with some custom controls that mesh well with the default Win7/Vista theme only to find that switching to classic mode made my application look terrible. </p>
<p>&#160;</p>
<p align="center"><a href="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image.png"><a href="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; margin-left: 0px; border-left-width: 0px; margin-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image_thumb.png" width="121" height="67" /></a></a></p>
<p align="center">Uhh no…</p>
<p align="center">&#160;</p>
<p>Since our users are running Windows XP in classic mode, this clearly needed to be fixed. Luckily, we can force WPF to use Aero theming in classic mode with just a little bit of code.</p>
<p>  <span id="more-376"></span>
<p>First, add a reference to PresentationFramework.Aero:</p>
<p>&#160;</p>
<p><a href="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image_thumb1.png" width="265" height="191" /></a></p>
<p>&#160;</p>
<p>Next, reference it in your App.xaml:</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:0f48dacb-bb4c-43c0-a821-502f0f324ea7" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px">Code</div>
<div style="background-color: #ffffff; overflow: auto; padding: 2px 5px;"><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Application</span><span style="color:#ff0000"> x</span><span style="color:#0000ff">:</span><span style="color:#ff0000">Class</span><span style="color:#0000ff">=&quot;Test.App&quot;</span><br />    <span style="color:#ff0000"> xmlns</span><span style="color:#0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;</span><br />    <span style="color:#ff0000"> xmlns</span><span style="color:#0000ff">:</span><span style="color:#ff0000">x</span><span style="color:#0000ff">=&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;</span><br />    <span style="color:#ff0000"> Startup</span><span style="color:#0000ff">=&quot;Application_Startup&quot;&gt;</span><br />     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Application.Resources</span><span style="color:#0000ff">&gt;</span><br />         <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">ResourceDictionary</span><span style="color:#0000ff">&gt;</span><br />             <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">ResourceDictionary.MergedDictionaries</span><span style="color:#0000ff">&gt;</span><br />                 <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">ResourceDictionary</span><span style="color:#ff0000"> Source</span><span style="color:#0000ff">=&quot;/PresentationFramework.Aero;component/themes/Aero.NormalColor.xaml&quot; /&gt;</span><br />             <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">ResourceDictionary.MergedDictionaries</span><span style="color:#0000ff">&gt;</span><br />         <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">ResourceDictionary</span><span style="color:#0000ff">&gt;</span><br />     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Application.Resources</span><span style="color:#0000ff">&gt;</span><br /> <span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Application</span><span style="color:#0000ff">&gt;</span></div>
</p></div>
</p></div>
<p>&#160;</p>
<p align="center"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.kennethham.com/wp/wp-content/uploads/2010/11/image_thumb2.png" width="118" height="75" />Much better…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2010/11/force-wpf-to-use-windows-7aero-theming-in-classic-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Outer Glow to WPF Controls on Focus (Like Gmail)</title>
		<link>http://www.kennethham.com/wp/2010/10/add-outer-glow-to-wpf-controls-on-focus-like-gmail/</link>
		<comments>http://www.kennethham.com/wp/2010/10/add-outer-glow-to-wpf-controls-on-focus-like-gmail/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 15:42:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://www.kennethham.com/wp/2010/10/add-outer-glow-to-wpf-controls-on-focus-like-gmail/</guid>
		<description><![CDATA[Adding a focus indicator to your controls can help make your application more user friendly and can provide a bit of visual polish for your projects. Ultimately, we are trying to mimic the following look in WPF: &#160; &#160; To create this, we make a style that targets any control and give it a name: [...]]]></description>
			<content:encoded><![CDATA[<p>Adding a focus indicator to your controls can help make your application more user friendly and can provide a bit of visual polish for your projects. Ultimately, we are trying to mimic the following look in WPF:</p>
<p>&#160;</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://www.kennethham.com/wp/wp-content/uploads/2010/10/image2.png" width="194" height="90" /></p>
<p>&#160;</p>
<p>  <span id="more-364"></span>
<p>To create this, we make a style that targets any control and give it a name:</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; padding-left: 0px; width: 593px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:9cc473b4-5a14-4c9a-9500-6dab1a2be40e" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px">Code</div>
<div style="background-color: #ffffff; overflow: auto; padding: 2px 5px;"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Style</span><span style="color:#ff0000"> x</span><span style="color:#0000ff">:</span><span style="color:#ff0000">Key</span><span style="color:#0000ff">=&quot;HighlightOnFocus&quot;</span><span style="color:#ff0000"> TargetType</span><span style="color:#0000ff">=&quot;Control&quot;&gt;</span><br />     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Style.Triggers</span><span style="color:#0000ff">&gt;</span><br />         <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Trigger</span><span style="color:#ff0000"> Property</span><span style="color:#0000ff">=&quot;IsFocused&quot;</span><span style="color:#ff0000"> Value</span><span style="color:#0000ff">=&quot;True&quot;&gt;</span><br />             <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Setter</span><span style="color:#ff0000"> Property</span><span style="color:#0000ff"> = &quot;BitmapEffect&quot; &gt;</span><br />                 <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Setter.Value</span><span style="color:#0000ff">&gt;</span><br />                     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">OuterGlowBitmapEffect</span> <br />                        <span style="color:#ff0000"> GlowColor</span><span style="color:#0000ff">=&quot;Orange&quot;</span> <br />                        <span style="color:#ff0000"> GlowSize</span><span style="color:#0000ff">=&quot;5&quot; /&gt;</span><br />                 <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Setter.Value</span><span style="color:#0000ff">&gt;</span><br />             <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Setter</span><span style="color:#0000ff">&gt;</span><br />         <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Trigger</span><span style="color:#0000ff">&gt;</span><br />     <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Style.Triggers</span><span style="color:#0000ff">&gt;</span><br /> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Style</span><span style="color:#0000ff">&gt;</span></div>
</p></div>
</p></div>
<p>&#160;</p>
<p>Then, set your control to use this style:</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9ce6104f-a9aa-4a17-a79f-3a39532ebf7c:046b1d04-ca52-487f-9cfc-2b8633efe3bc" class="wlWriterEditableSmartContent">
<div style="border: #000080 1px solid; color: #000; font-family: 'Courier New', Courier, Monospace; font-size: 10pt">
<div style="background: #000080; color: #fff; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; padding: 2px 5px">Code</div>
<div style="background-color: #ffffff; overflow: auto; padding: 2px 5px;"><span style="color:#a31515"></span><span style="color:#0000ff">&lt;</span><span style="color:#a31515">Style</span><span style="color:#ff0000"> TargetType</span><span style="color:#0000ff">=&quot;TextBox&quot;</span><span style="color:#ff0000"> BasedOn</span><span style="color:#0000ff">=&quot;{</span><span style="color:#a31515">StaticResource</span><span style="color:#ff0000"> HighlightOnFocus}</span><span style="color:#0000ff">&quot;&gt;</span><br /> <span style="color:#a31515"></span><span style="color:#0000ff">&lt;/</span><span style="color:#a31515">Style</span><span style="color:#0000ff">&gt;</span></div>
</p></div>
</p></div>
<p>&#160;</p>
<p>Result:</p>
<p>&#160;</p>
<p><img style="display: block; float: none; margin-left: auto; margin-right: auto" title="image" alt="image" src="http://www.kennethham.com/wp/wp-content/uploads/2010/10/image1.png" width="352" height="106" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2010/10/add-outer-glow-to-wpf-controls-on-focus-like-gmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developing a Cost Effective Wireless Data Entry System (Master&#8217;s Project)</title>
		<link>http://www.kennethham.com/wp/2008/11/developing-a-cost-effective-wireless-data-entry-system-masters-project/</link>
		<comments>http://www.kennethham.com/wp/2008/11/developing-a-cost-effective-wireless-data-entry-system-masters-project/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 22:58:40 +0000</pubDate>
		<dc:creator>kham</dc:creator>
				<category><![CDATA[PocketPC]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[VB .net]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://kham.wordpress.com/?p=205</guid>
		<description><![CDATA[This paper looks at the design and implementation of a wireless data entry system using cheap and widely available personal digital assistants (PDAs) as a hardware platform. This problem is viewed through the context of a small transportation company that is transitioning to a medium-large scale operation and needs a custom tailored solution to improve [...]]]></description>
			<content:encoded><![CDATA[<p>This paper looks at the design and implementation of a wireless data entry system using cheap and widely available personal digital assistants (PDAs) as a hardware platform. This problem is viewed through the context of a small transportation company that is transitioning to a medium-large scale operation and needs a custom tailored solution to improve payroll efficiency and reduce errors. In my report, I detail the design considerations, the user stories, and the pitfalls that come with implementing a new system that interfaces with existing applications.</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:66721397-FF69-4ca6-AEC4-17E6B3208830:372b15e5-d22b-4059-9385-91820312e99c" class="wlWriterSmartContent"><a style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" href="http://cid-834a4e2dc9dea0f3.skydrive.live.com/redir.aspx?page=browse&amp;resid=834A4E2DC9DEA0F3!121&amp;ct=photos"><img style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" alt="View Developing a Cost Effective Wireless Data Entry System" src="http://www.kennethham.com/wp/wp-content/uploads/2009/03/inlinerepresentatione8011136a4774a8399677551019fc8b0.jpg" /></a>
<div style="text-align: right; width: 576px"><a href="http://cid-834a4e2dc9dea0f3.skydrive.live.com/redir.aspx?page=browse&amp;resid=834A4E2DC9DEA0F3!121&amp;ct=photos">View Full Album</a></div>
</p></div>
<p>  <span id="more-205"></span>
<p>&#160;</p>
<p>My complete Master&#8217;s report and presentation used in my defense can be downloaded below.</p>
<p><strong>     <br />Download report: </strong><a href="http://kham.files.wordpress.com/2008/11/ham-researchproject.doc">Developing a Cost Effective Wireless Data Entry System</a></p>
<p><strong>Download presentation:</strong> <a href="http://kham.files.wordpress.com/2008/11/developing-a-wireless-data-entry-system.ppt">Developing a Cost Effective Wireless Data Entry System</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2008/11/developing-a-cost-effective-wireless-data-entry-system-masters-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Texas A&amp;M University &#8211; Kingsville Computer Science Website</title>
		<link>http://www.kennethham.com/wp/2008/11/texas-am-university-kingsville-computer-science-website/</link>
		<comments>http://www.kennethham.com/wp/2008/11/texas-am-university-kingsville-computer-science-website/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 20:00:51 +0000</pubDate>
		<dc:creator>kham</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://kham.wordpress.com/?p=131</guid>
		<description><![CDATA[TAMUK CS Website Main Website Template: Teacher Website Template:]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.engineer.tamuk.edu/departments/CS/">TAMUK CS Website</a></p>
<p>Main Website Template:<a href="http://kham.files.wordpress.com/2008/11/tamuk.jpg"><img class="alignnone size-full wp-image-132" title="TAMUK CS Website" alt="TAMUK CS Website" src="http://kham.files.wordpress.com/2008/11/tamuk.jpg" width="500" height="465" /></a></p>
<p>  <span id="more-131"></span>
<p>Teacher Website Template:   <br /><a href="http://kham.files.wordpress.com/2008/11/untitled.jpg"><img class="alignnone size-full wp-image-134" title="Teacher Site Template" alt="Teacher Site Template" src="http://kham.files.wordpress.com/2008/11/untitled.jpg" width="500" height="470" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2008/11/texas-am-university-kingsville-computer-science-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tahoe Trucking Website</title>
		<link>http://www.kennethham.com/wp/2008/11/tahoe-trucking-website/</link>
		<comments>http://www.kennethham.com/wp/2008/11/tahoe-trucking-website/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 21:12:53 +0000</pubDate>
		<dc:creator>kham</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Prototype]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://kham.wordpress.com/?p=105</guid>
		<description><![CDATA[This site was designed using a completely custom wordpress theme. The logo was completely redesigned and the header image was shot over the course of a few days and stitched together using Photoshop. Since this site was implemented with wordpress, the customer can edit the content like a Word document with no HTML knowledge required. [...]]]></description>
			<content:encoded><![CDATA[<p>This site was designed using a completely custom wordpress theme. The logo was completely redesigned and the header image was shot over the course of a few days and stitched together using Photoshop. Since this site was implemented with wordpress, the customer can edit the content like a Word document with no HTML knowledge required.</p>
<p>&#160;</p>
<p><a href="http://www.kennethham.com/wp/wp-content/uploads/2009/03/tahoe1.jpg" target="_blank"><img title="tahoe" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="357" alt="tahoe" src="http://www.kennethham.com/wp/wp-content/uploads/2009/03/tahoe-thumb1.jpg" width="400" border="0" /></a> </p>
<p>&#160;</p>
<p>Site link:&#160;&#160;&#160; <a href="http://www.tahoetrucking.com">TahoeTrucking.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2008/11/tahoe-trucking-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DoveCom Website</title>
		<link>http://www.kennethham.com/wp/2008/11/dovecom-website/</link>
		<comments>http://www.kennethham.com/wp/2008/11/dovecom-website/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 21:05:18 +0000</pubDate>
		<dc:creator>kham</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Photoshop]]></category>

		<guid isPermaLink="false">http://kham.wordpress.com/?p=101</guid>
		<description><![CDATA[This site was a blank slate as far as projects go. While working for Integrity Communications, I was asked to create a website for a sister company called DoveCom that, at the time, had no logo, content, or identity of any kind. &#160; &#160; With this in mind, I created a logo and layout that [...]]]></description>
			<content:encoded><![CDATA[<p>This site was a blank slate as far as projects go. While working for Integrity Communications, I was asked to create a website for a sister company called DoveCom that, at the time, had no logo, content, or identity of any kind.</p>
<p>&#160;</p>
<p><a href="http://www.kennethham.com/wp/wp-content/uploads/2009/03/dovecom.jpg" target="_blank"><img title="dovecom" style="border-right: 0px; border-top: 0px; display: block; float: none; margin-left: auto; border-left: 0px; margin-right: auto; border-bottom: 0px" height="384" alt="dovecom" src="http://www.kennethham.com/wp/wp-content/uploads/2009/03/dovecom-thumb.jpg" width="400" border="0" /></a> </p>
<p>&#160;</p>
<p>With this in mind, I created a logo and layout that reflected the company’s name while at the same time using a few design trends of the time like reflections, gradients, and darker colors.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2008/11/dovecom-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DiffTool</title>
		<link>http://www.kennethham.com/wp/2008/11/difftool/</link>
		<comments>http://www.kennethham.com/wp/2008/11/difftool/#comments</comments>
		<pubDate>Mon, 10 Nov 2008 20:55:35 +0000</pubDate>
		<dc:creator>kham</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://kham.wordpress.com/?p=95</guid>
		<description><![CDATA[This tool allows you to compare any two text files and view the changes. It has two resizable panes and leverages the power of HTML and CSS for the display window styles. It also has a numbered code line, so you can compare code a little easier. &#160; &#160; Download File &#8211; DiffTool]]></description>
			<content:encoded><![CDATA[<p>This tool allows you to compare any two text files and view the changes. It has two resizable panes and leverages the power of HTML and CSS for the display window styles. It also has a numbered code line, so you can compare code a little easier.</p>
<p>&#160;</p>
<p><a href="http://www.kennethham.com/wp/wp-content/uploads/2009/03/diff7.jpg"><img title="diff" style="border-top-width: 0px; display: block; border-left-width: 0px; float: none; border-bottom-width: 0px; margin-left: auto; margin-right: auto; border-right-width: 0px" height="372" alt="diff" src="http://www.kennethham.com/wp/wp-content/uploads/2009/03/diff-thumb4.jpg" width="550" border="0" /></a></p>
<p>&#160;</p>
<p>
<div class="wlWriterEditableSmartContent" id="scid:FF7EC618-8FBE-49a5-B908-2339AF2ABCDF:1910c81f-d989-4108-8aa3-e1b5998933a0" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<div>Download File &#8211; <a href="http://www.kennethham.com/wp/wp-content/uploads/2009/03/tmp525.zip" target="_self">DiffTool</a></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.kennethham.com/wp/2008/11/difftool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

