<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[WPF בחירת עמודות שלמות בדטה-גריד]]></title><description><![CDATA[<p dir="auto">איך אפשר לעשות שהמשתמש יוכל לבחור עמודה שלמה בדטה-גריד בדומה לזה שאפשר לבחור שורה שלמה כאשר לוחצים בראש השורה, דבר דומה יש באקסל שכאשר לוחצים בראש העמודה בגליון נבחרת כל העמודה, אבל בדטה-גריד הלחיצה על ראש העמודה מיועדת למיון.</p>
<p dir="auto">תודה לכולם.</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב20/01/2014 14:19 (+02:00)</em></p>
]]></description><link>https://tchumim.com/topic/283/wpf-בחירת-עמודות-שלמות-בדטה-גריד</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 18:00:09 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/283.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Jan 2018 10:38:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:34 GMT]]></title><description><![CDATA[<p dir="auto">תראה את הXAML של הכפתור.</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב21/01/2014 14:39 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1813</link><guid isPermaLink="true">https://tchumim.com/post/1813</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:34 GMT</pubDate></item><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:34 GMT]]></title><description><![CDATA[<p dir="auto">כן.</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב21/01/2014 14:07 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1812</link><guid isPermaLink="true">https://tchumim.com/post/1812</guid><dc:creator><![CDATA[רחמים]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:34 GMT</pubDate></item><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:33 GMT]]></title><description><![CDATA[<p dir="auto">כל הבעייה זה בגרירה (במשיכה כלשונך), בלחיצה הכל עובד טוב?</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב21/01/2014 14:05 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1811</link><guid isPermaLink="true">https://tchumim.com/post/1811</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:33 GMT]]></title><description><![CDATA[<p dir="auto">הקוד לבחירת עמודה בעת לחיצה על הלחצן שבתוך ראש העמודה נראה כך:</p>
<pre><code>Private Sub btnSelectColumn_Click(sender As Object, e As RoutedEventArgs)
        Dim column As DataGridColumn = DirectCast(sender, Button).Tag
        For i As Integer = 0 To Me.Items.Count - 1
            If Me.SelectedCells.Contains(New DataGridCellInfo(Me.Items(i), column)) = False Then
                Me.SelectedCells.Add(New DataGridCellInfo(Me.Items(i), column))
            End If
        Next
    End Sub
</code></pre>
<p dir="auto">בזמן יצירת הלחצן אני מכניס ל TAG שלו את העמודה שהוא שייך אליה [זו הדרך הכי פשוטה שמצאתי כדי לדעת לאיזה עמודה שייך הלחצן שמשתמש לחץ]</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב21/01/2014 13:12 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1810</link><guid isPermaLink="true">https://tchumim.com/post/1810</guid><dc:creator><![CDATA[רחמים]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:33 GMT]]></title><description><![CDATA[<p dir="auto">תתרגל להראות קוד. אתה מצפה שהקורא יחבר את הפאזל של הלינק שהבאתי וההסברים שלך המשלימים, ותתפלא לשמוע זה לא הכי קל.</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב21/01/2014 11:31 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1809</link><guid isPermaLink="true">https://tchumim.com/post/1809</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:33 GMT]]></title><description><![CDATA[<p dir="auto">עשיתי כך:<br />
בראש כל שורה הכנסתי לחצן בגובה 20 וברוחב כל הראש, ובארוע לחיצה עליו עשיתי מה שהיה כתוב בקישור שהבאת ואכן הוא בוחר את כל העמודה וזה מצויין.<br />
כעת ניסיתי לעשות שגם בארוע כניסה לאותו לחצן עם העכבר תיבחר כל העמודה על דרך שבוחרים שורות ע''י משיכה באזור ראשי השורות, אלא משום מה ארוע כניסה לא מתרחש בלחצן של עמודה 2 לאחר שכבר נלחץ הלחצן שעמודה 1 ומשכתי את העכבר ללחצן 2. למה הוא לא מתרחש?</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב20/01/2014 15:43 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1808</link><guid isPermaLink="true">https://tchumim.com/post/1808</guid><dc:creator><![CDATA[רחמים]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:33 GMT]]></title><description><![CDATA[<p dir="auto">אני צריך את המיון ומצד שני אני צריך שהמשתמש יוכל לבחור עמודות כמו שהוא בוחר שורות ע''י לחיצה בראש שורה ויש אפשרות לבחור שורות מרובות ע''י לחיצה ומשיכה ג''כ בראשי השורות, אולי אפשר להכניס מעל ראשי העמודות שטח כמו השטח שבראשי השורות?<br />
תודה.</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב20/01/2014 15:02 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1807</link><guid isPermaLink="true">https://tchumim.com/post/1807</guid><dc:creator><![CDATA[רחמים]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:33 GMT</pubDate></item><item><title><![CDATA[Reply to WPF בחירת עמודות שלמות בדטה-גריד on Mon, 29 Jan 2018 10:38:32 GMT]]></title><description><![CDATA[<p dir="auto">אתה רוצה שלחיצה תבחר את העמודה, ואתה מוותר על העניין של המיון?<br />
או שאתה משתף אותנו בדילמה...</p>
<p dir="auto">תוכל לשלב בכותרת כפתורון לבחירת העמודה. תראה מה שהם עשו פה:<br />
<a href="http://wpf.codeplex.com/wikipage?title=Column%20Selection" target="_blank" rel="noopener noreferrer nofollow ugc">http://wpf.codeplex.com/wikipage?title=Column Selection</a></p>
<p dir="auto">הצלחה.</p>
<p dir="auto"><em>פורסם במקור בפורום CODE613 ב20/01/2014 14:49 (+02:00)</em></p>
]]></description><link>https://tchumim.com/post/1806</link><guid isPermaLink="true">https://tchumim.com/post/1806</guid><dc:creator><![CDATA[dovid]]></dc:creator><pubDate>Mon, 29 Jan 2018 10:38:32 GMT</pubDate></item></channel></rss>