<?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>Biggle&#039;s Blog &#187; Quicky</title>
	<atom:link href="http://www.biggle.de/blog/tag/quicky/feed" rel="self" type="application/rss+xml" />
	<link>http://www.biggle.de/blog</link>
	<description>Web- und Software Development</description>
	<lastBuildDate>Tue, 07 Feb 2012 13:08:02 +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>Wie verhindere ich beim Klick eines HyperlinkButtons in Silverlight die Umrandung &#8211; Quicky</title>
		<link>http://www.biggle.de/blog/wie-verhindere-ich-beim-klick-eines-hyperlinkbuttons-in-silverlight-die-umrandung-quicky</link>
		<comments>http://www.biggle.de/blog/wie-verhindere-ich-beim-klick-eines-hyperlinkbuttons-in-silverlight-die-umrandung-quicky#comments</comments>
		<pubDate>Fri, 04 Nov 2011 12:56:11 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Quicky]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/wie-verhindere-ich-beim-klick-eines-hyperlinkbuttons-in-silverlight-die-umrandung-quicky</guid>
		<description><![CDATA[Ja der Titel des Beitrags ist länger als der folgende “Silverlight-Quicky”. Aber was soll :) Setzt man ein HyperlinkButton ein, so erscheint bei einem Klick aus diesen, ein nicht so toller Rahmen rundherum. Um das zu verhindern, muss man die Property IsTabStop auf False setzen. &#60;HyperlinkButton Content=&#34;Mein Linktext&#34; IsTabStop=&#34;False&#34; ... /&#62;]]></description>
			<content:encoded><![CDATA[<p>Ja der Titel des Beitrags ist länger als der folgende “Silverlight-Quicky”. Aber was soll :)</p>
<p>Setzt man ein <strong>HyperlinkButton</strong> ein, so erscheint bei einem Klick aus diesen, ein nicht so toller Rahmen rundherum. </p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMS8xMS9pbWFnZTQucG5n"><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; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.biggle.de/blog/wp-content/uploads/2011/11/image_thumb4.png" width="313" height="82" /></a></p>
<p>Um das zu verhindern, muss man die Property <strong>IsTabStop</strong> auf <strong>False</strong> setzen.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:05d86f8d-871e-4ad2-9264-3904789a7be3" class="wlWriterEditableSmartContent">
<pre style=" width: 500px; height: 50px;background-color:White;overflow: auto;">
<div><!--

Code highlighting produced by Actipro CodeHighlighter (freeware)

http://www.CodeHighlighter.com/

--><span style="color: #000000;">&lt;</span><span style="color: #000000;">HyperlinkButton Content</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">Mein Linktext</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> IsTabStop</span><span style="color: #000000;">=</span><span style="color: #800000;">&quot;</span><span style="color: #800000;">False</span><span style="color: #800000;">&quot;</span><span style="color: #000000;"> ... </span><span style="color: #000000;">/&gt;</span></div>
</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>Dann klappt’s auch ohne Rahmen <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Zwinkerndes Smiley" src="http://www.biggle.de/blog/wp-content/uploads/2011/11/wlEmoticon-winkingsmile2.png" /></p>
<p>
  <br />Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6705" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>31. März 2011 -- <a href="http://www.biggle.de/blog/wie-ermittle-ich-eine-telefonnummer-aus-dem-telefonbuch-%e2%80%93-wp7-quicky" title="Wie ermittle ich eine Telefonnummer aus dem Telefonbuch? – WP7 Quicky">Wie ermittle ich eine Telefonnummer aus dem Telefonbuch? – WP7 Quicky</a></li><li>14. Februar 2011 -- <a href="http://www.biggle.de/blog/texttrimming-xaml-quicky" title="TextTrimming &#8211;  XAML Quicky">TextTrimming &#8211;  XAML Quicky</a></li><li>14. Februar 2011 -- <a href="http://www.biggle.de/blog/doppelklick-im-datagrid-abfangen-wpf-quicky" title="Doppelklick im DataGrid abfangen &#8211; WPF Quicky">Doppelklick im DataGrid abfangen &#8211; WPF Quicky</a></li><li>27. November 2010 -- <a href="http://www.biggle.de/blog/windows-phone-7-trialmode-testversion-wp7-quicky" title="Windows Phone 7 Trialmode – WP7 Quicky">Windows Phone 7 Trialmode – WP7 Quicky</a></li><li>26. November 2010 -- <a href="http://www.biggle.de/blog/wie-prufe-ich-eine-bestehende-internetverbindung-wp7-quicky" title="Wie prüfe ich eine bestehende Internetverbindung? &#8211; WP7 Quicky">Wie prüfe ich eine bestehende Internetverbindung? &#8211; WP7 Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/wie-verhindere-ich-beim-klick-eines-hyperlinkbuttons-in-silverlight-die-umrandung-quicky/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wie ermittle ich eine Telefonnummer aus dem Telefonbuch? – WP7 Quicky</title>
		<link>http://www.biggle.de/blog/wie-ermittle-ich-eine-telefonnummer-aus-dem-telefonbuch-%e2%80%93-wp7-quicky</link>
		<comments>http://www.biggle.de/blog/wie-ermittle-ich-eine-telefonnummer-aus-dem-telefonbuch-%e2%80%93-wp7-quicky#comments</comments>
		<pubDate>Thu, 31 Mar 2011 18:51:42 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[Quicky]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6338</guid>
		<description><![CDATA[Um eine Telefonnummer aus dem Telefonbuch des Benutzers vom Windows Phone 7 zu ermitteln, kann man mit seiner Applikation den Benutzer dazu aufordern, die entsprechende Nummer zu selektieren. Dazu verwendet man die Klasse PhoneNumberChooserTask aus dem Namespace Microsoft.Phone.Tasks. 1 2 3 PhoneNumberChooserTask pck = new PhoneNumberChooserTask&#40;&#41;; pck.Completed += new EventHandler&#60;PhoneNumberResult&#62;&#40;pck_Completed&#41;; pck.Show&#40;&#41;; In der CompletedMethode steht [...]]]></description>
			<content:encoded><![CDATA[<p>Um eine Telefonnummer aus dem Telefonbuch des Benutzers vom Windows Phone 7 zu ermitteln, kann man mit seiner Applikation den Benutzer dazu aufordern, die entsprechende Nummer zu selektieren. Dazu verwendet man die Klasse PhoneNumberChooserTask  aus dem Namespace Microsoft.Phone.Tasks.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">PhoneNumberChooserTask pck <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> PhoneNumberChooserTask<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
pck<span style="color: #339933;">.</span>Completed <span style="color: #339933;">+=</span> <span style="color: #000000; font-weight: bold;">new</span> EventHandler<span style="color: #339933;">&lt;</span>PhoneNumberResult<span style="color: #339933;">&gt;</span><span style="color: #009900;">&#40;</span>pck_Completed<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
pck<span style="color: #339933;">.</span>Show<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>In der CompletedMethode steht dann zur Weiterverarbeitung die selektierte Telefonnummer zur Verfügung.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;">void pck_Completed<span style="color: #009900;">&#40;</span>object sender<span style="color: #339933;">,</span> PhoneNumberResult e<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    MessageBox<span style="color: #339933;">.</span>Show<span style="color: #009900;">&#40;</span>e<span style="color: #339933;">.</span>PhoneNumber<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6338" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>27. November 2010 -- <a href="http://www.biggle.de/blog/windows-phone-7-trialmode-testversion-wp7-quicky" title="Windows Phone 7 Trialmode – WP7 Quicky">Windows Phone 7 Trialmode – WP7 Quicky</a></li><li>26. November 2010 -- <a href="http://www.biggle.de/blog/wie-prufe-ich-eine-bestehende-internetverbindung-wp7-quicky" title="Wie prüfe ich eine bestehende Internetverbindung? &#8211; WP7 Quicky">Wie prüfe ich eine bestehende Internetverbindung? &#8211; WP7 Quicky</a></li><li>25. November 2010 -- <a href="http://www.biggle.de/blog/globalisierung-im-windows-phone-7-wp7-quicky" title="Globalisierung im Windows Phone 7 – WP7 Quicky">Globalisierung im Windows Phone 7 – WP7 Quicky</a></li><li>24. November 2010 -- <a href="http://www.biggle.de/blog/wie-rufe-ich-eine-page-mit-parameter-auf-wp7-quicky" title="Wie rufe ich eine Page mit Parameter auf? – WP7 Quicky">Wie rufe ich eine Page mit Parameter auf? – WP7 Quicky</a></li><li>23. November 2010 -- <a href="http://www.biggle.de/blog/wie-verwende-ich-das-webbrowsercontrol-wp7-quicky" title="Wie verwende ich das WebbrowserControl? – WP7 Quicky">Wie verwende ich das WebbrowserControl? – WP7 Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/wie-ermittle-ich-eine-telefonnummer-aus-dem-telefonbuch-%e2%80%93-wp7-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TextTrimming &#8211;  XAML Quicky</title>
		<link>http://www.biggle.de/blog/texttrimming-xaml-quicky</link>
		<comments>http://www.biggle.de/blog/texttrimming-xaml-quicky#comments</comments>
		<pubDate>Mon, 14 Feb 2011 18:58:34 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[CodeSnippet]]></category>
		<category><![CDATA[Quicky]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6250</guid>
		<description><![CDATA[Im XAML hat man die Möchglichkeit den Text zu kürzen, wenn dieser länger ist, als die Oberfläche es zulässt. Man kann bestimmen, ob man nach einem Wort (WordEllipsis) und nach einem Buchstaben (CharacterEllipsis) den Text abtrennt. 3 Punkte (&#8230;) zeigen dem Benutzer an, das hier weiterer Text hinterlegt ist. 1 2 &#60;TextBlock Name=&#34;sampleTextBlock&#34; TextTrimming=&#34;WordEllipsis&#34; TextWrapping=&#34;NoWrap&#34; [...]]]></description>
			<content:encoded><![CDATA[<p>Im XAML hat man die Möchglichkeit den Text zu kürzen, wenn dieser länger ist, als die Oberfläche es zulässt. </p>
<p><a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGUvYmxvZy93cC1jb250ZW50L3VwbG9hZHMvMjAxMS8wMi8yMDExLTAyLTE0LTE5aDU2XzUzLnBuZw=="><img src="http://www.biggle.de/blog/wp-content/uploads/2011/02/2011-02-14-19h56_53.png" alt="" title="TextTrimming XAML WPF" width="350" height="92" class="alignnone size-full wp-image-6253" /></a></p>
<p>Man kann bestimmen, ob man nach einem Wort (WordEllipsis) und nach einem Buchstaben (CharacterEllipsis) den Text abtrennt. 3 Punkte (&#8230;) zeigen dem Benutzer an, das hier weiterer Text hinterlegt ist.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>TextBlock  Name<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;sampleTextBlock&quot;</span> TextTrimming<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;WordEllipsis&quot;</span>  TextWrapping<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;NoWrap&quot;</span> 
                    Text<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.&quot;</span><span style="color: #339933;">/&gt;</span></pre></td></tr></table></div>

<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6250" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>14. Februar 2011 -- <a href="http://www.biggle.de/blog/doppelklick-im-datagrid-abfangen-wpf-quicky" title="Doppelklick im DataGrid abfangen &#8211; WPF Quicky">Doppelklick im DataGrid abfangen &#8211; WPF Quicky</a></li><li>14. Februar 2011 -- <a href="http://www.biggle.de/blog/tooltip-an-einem-disabled-button-xaml" title="ToolTip an einem &#8220;disabled Button&#8221; &#8211; XAML Quicky">ToolTip an einem &#8220;disabled Button&#8221; &#8211; XAML Quicky</a></li><li>4. April 2010 -- <a href="http://www.biggle.de/blog/alle-bilder-eines-verzeichnisses-php-quicky" title="Alle Bilder eines Verzeichnisses &#8211; PHP Quicky">Alle Bilder eines Verzeichnisses &#8211; PHP Quicky</a></li><li>2. Januar 2010 -- <a href="http://www.biggle.de/blog/dynamisches-applikations-icon-xaml" title="Dynamisches Applikations Icon &#8211; XAML Quicky">Dynamisches Applikations Icon &#8211; XAML Quicky</a></li><li>25. November 2009 -- <a href="http://www.biggle.de/blog/mulitline-textbox-xaml-quicky" title="Multiline TextBox &#8211; XAML Quicky">Multiline TextBox &#8211; XAML Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/texttrimming-xaml-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doppelklick im DataGrid abfangen &#8211; WPF Quicky</title>
		<link>http://www.biggle.de/blog/doppelklick-im-datagrid-abfangen-wpf-quicky</link>
		<comments>http://www.biggle.de/blog/doppelklick-im-datagrid-abfangen-wpf-quicky#comments</comments>
		<pubDate>Mon, 14 Feb 2011 18:48:34 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[CodeSnippet]]></category>
		<category><![CDATA[Quicky]]></category>
		<category><![CDATA[XAML]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=6246</guid>
		<description><![CDATA[Möchte man auf den Klick eines Datensatzes  in einem WPF DataGrid reagieren, so kann man folgenden Code dazu verwenden: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 private void dataGrid_MouseDoubleClick&#40;object sender, MouseButtonEventArgs e&#41; &#123; DependencyObject dep = &#40;DependencyObject&#41;e.OriginalSource; &#160; while &#40;&#40;dep != null&#41; &#38;&#38; !&#40;dep [...]]]></description>
			<content:encoded><![CDATA[<p>Möchte man auf den Klick eines Datensatzes  in einem WPF DataGrid reagieren, so kann man folgenden Code dazu verwenden:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">private</span> void dataGrid_MouseDoubleClick<span style="color: #009900;">&#40;</span>object sender<span style="color: #339933;">,</span> MouseButtonEventArgs e<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    DependencyObject dep <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>DependencyObject<span style="color: #009900;">&#41;</span>e<span style="color: #339933;">.</span>OriginalSource<span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>dep <span style="color: #339933;">!=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span>dep is DataGridRow<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        dep <span style="color: #339933;">=</span> VisualTreeHelper<span style="color: #339933;">.</span>GetParent<span style="color: #009900;">&#40;</span>dep<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>dep <span style="color: #339933;">==</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>dep is DataGridRow<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        DataGridRow dataGridRow <span style="color: #339933;">=</span> dep <span style="color: #b1b100;">as</span> DataGridRow<span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;">//tu was</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Den Klick auf denDataGrid-ColumnHeader oder einer DataGrid-Zelle kann mit der selben Methode behandelt werden. Hier wird einfach die Abfrage mit in das if-Statement aufgenommen und im Rumpf dementsprechend behandelt.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">private</span> void dataGrid_MouseDoubleClick<span style="color: #009900;">&#40;</span>object sender<span style="color: #339933;">,</span> MouseButtonEventArgs e<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    DependencyObject dep <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>DependencyObject<span style="color: #009900;">&#41;</span>e<span style="color: #339933;">.</span>OriginalSource<span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>dep <span style="color: #339933;">!=</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span>dep is DataGridRow<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span>dep is DataGridColumnHeader<span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #339933;">!</span><span style="color: #009900;">&#40;</span>dep is DataGridCell<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        dep <span style="color: #339933;">=</span> VisualTreeHelper<span style="color: #339933;">.</span>GetParent<span style="color: #009900;">&#40;</span>dep<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>dep <span style="color: #339933;">==</span> <span style="color: #009900; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>dep is DataGridRow<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        DataGridRow dataGridRow <span style="color: #339933;">=</span> dep <span style="color: #b1b100;">as</span> DataGridRow<span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;">//tu was</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>dep is DataGridColumnHeader<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        DataGridColumnHeader columnHeader <span style="color: #339933;">=</span> dep <span style="color: #b1b100;">as</span> DataGridColumnHeader<span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;">//tu was</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>dep is DataGridCell<span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#123;</span>
        DataGridCell cell <span style="color: #339933;">=</span> dep <span style="color: #b1b100;">as</span> DataGridCell<span style="color: #339933;">;</span>
        <span style="color: #666666; font-style: italic;">//tu was</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p><br class="spacer_" /></p>
<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=6246" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>14. Februar 2011 -- <a href="http://www.biggle.de/blog/texttrimming-xaml-quicky" title="TextTrimming &#8211;  XAML Quicky">TextTrimming &#8211;  XAML Quicky</a></li><li>25. November 2009 -- <a href="http://www.biggle.de/blog/mulitline-textbox-xaml-quicky" title="Multiline TextBox &#8211; XAML Quicky">Multiline TextBox &#8211; XAML Quicky</a></li><li>18. Juni 2009 -- <a href="http://www.biggle.de/blog/emailvalidationconverter-wpf-quicky" title="EMailValidationConverter &#8211; WPF Quicky">EMailValidationConverter &#8211; WPF Quicky</a></li><li>18. Juni 2009 -- <a href="http://www.biggle.de/blog/birthdayconverter-wpf-quicky" title="BirthdayConverter &#8211; WPF Quicky">BirthdayConverter &#8211; WPF Quicky</a></li><li>26. Februar 2009 -- <a href="http://www.biggle.de/blog/contextmenu-wpf-xaml-quicky" title="contextmenu &#8211; WPF / XAML Quicky">contextmenu &#8211; WPF / XAML Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/doppelklick-im-datagrid-abfangen-wpf-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7 Trialmode – WP7 Quicky</title>
		<link>http://www.biggle.de/blog/windows-phone-7-trialmode-testversion-wp7-quicky</link>
		<comments>http://www.biggle.de/blog/windows-phone-7-trialmode-testversion-wp7-quicky#comments</comments>
		<pubDate>Sat, 27 Nov 2010 06:00:19 +0000</pubDate>
		<dc:creator>Mario Priebe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Windows Phone 7]]></category>
		<category><![CDATA[Quicky]]></category>

		<guid isPermaLink="false">http://www.biggle.de/blog/?p=5995</guid>
		<description><![CDATA[Möchte man eine Applikation bauen, die ein paar Taler einbringen soll, kann man den Benutzer vorher die Möglichkeit geben, etwas in die App reinzuschnuppern. Habe ich Funktionen, welche nur in der bezahlten Version verfügbar sind, muss ich den Lizenzmodus abfragen. Im SDK vom Windows Phone 7 steht dazu im Namensraum Microsoft.Phone.Marketplace die Klasse LicenseInformation mit [...]]]></description>
			<content:encoded><![CDATA[<p>Möchte man eine Applikation bauen, die ein paar Taler einbringen soll, kann man den Benutzer vorher die Möglichkeit geben, etwas in die App reinzuschnuppern. Habe ich Funktionen, welche nur in der bezahlten Version verfügbar sind, muss ich den Lizenzmodus abfragen.</p>
<p>Im SDK vom Windows Phone 7 steht dazu im Namensraum <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21zZG4ubWljcm9zb2Z0LmNvbS9lbi11cy9saWJyYXJ5L2ZmNzA3MzE5KHY9VlMuOTIpLmFzcHg=">Microsoft.Phone.Marketplace</a> die Klasse <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21zZG4ubWljcm9zb2Z0LmNvbS9lbi11cy9saWJyYXJ5L21pY3Jvc29mdC5waG9uZS5tYXJrZXRwbGFjZS5saWNlbnNlaW5mb3JtYXRpb24odj1WUy45MikuYXNweA==">LicenseInformation</a> mit der Methode <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21zZG4ubWljcm9zb2Z0LmNvbS9lbi11cy9saWJyYXJ5L21pY3Jvc29mdC5waG9uZS5tYXJrZXRwbGFjZS5saWNlbnNlaW5mb3JtYXRpb24uaXN0cmlhbCh2PVZTLjkyKS5hc3B4">IsTrial()</a> bereit, mit der ich diesen Status abfragen kann.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">var</span> licenseInformation <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Microsoft<span style="color: #339933;">.</span>Phone<span style="color: #339933;">.</span>Marketplace<span style="color: #339933;">.</span>LicenseInformation<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>licenseInformation<span style="color: #339933;">.</span>IsTrial<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
    <span style="color: #666666; font-style: italic;">//implemtents here your payed content</span></pre></td></tr></table></div>

<p>Viel Spaß beim entwickeln : )</p>
<hr /><p style="float:right; font-size:0.9em;">Dieser Beitrag stammt von <a href="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5iaWdnbGUuZGU=">Mario Priebe</a>.</p> <img src="http://www.biggle.de/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=5995" width="1" height="1" style="display: none;" /><h2  class="related_post_title">Ähnliche Beiträge</h2><ul class="related_post"><li>31. März 2011 -- <a href="http://www.biggle.de/blog/wie-ermittle-ich-eine-telefonnummer-aus-dem-telefonbuch-%e2%80%93-wp7-quicky" title="Wie ermittle ich eine Telefonnummer aus dem Telefonbuch? – WP7 Quicky">Wie ermittle ich eine Telefonnummer aus dem Telefonbuch? – WP7 Quicky</a></li><li>26. November 2010 -- <a href="http://www.biggle.de/blog/wie-prufe-ich-eine-bestehende-internetverbindung-wp7-quicky" title="Wie prüfe ich eine bestehende Internetverbindung? &#8211; WP7 Quicky">Wie prüfe ich eine bestehende Internetverbindung? &#8211; WP7 Quicky</a></li><li>25. November 2010 -- <a href="http://www.biggle.de/blog/globalisierung-im-windows-phone-7-wp7-quicky" title="Globalisierung im Windows Phone 7 – WP7 Quicky">Globalisierung im Windows Phone 7 – WP7 Quicky</a></li><li>24. November 2010 -- <a href="http://www.biggle.de/blog/wie-rufe-ich-eine-page-mit-parameter-auf-wp7-quicky" title="Wie rufe ich eine Page mit Parameter auf? – WP7 Quicky">Wie rufe ich eine Page mit Parameter auf? – WP7 Quicky</a></li><li>23. November 2010 -- <a href="http://www.biggle.de/blog/wie-verwende-ich-das-webbrowsercontrol-wp7-quicky" title="Wie verwende ich das WebbrowserControl? – WP7 Quicky">Wie verwende ich das WebbrowserControl? – WP7 Quicky</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.biggle.de/blog/windows-phone-7-trialmode-testversion-wp7-quicky/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

