Click here to Skip to main content
15,881,380 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPFToolkit - Sort Arrows in DataGrid Pin
User 27100923-Aug-09 4:54
User 27100923-Aug-09 4:54 
QuestionPopulate a DataGrid WITHOUT Binding Pin
#realJSOP19-Aug-09 3:23
mve#realJSOP19-Aug-09 3:23 
AnswerRe: Populate a DataGrid WITHOUT Binding Pin
Pete O'Hanlon19-Aug-09 3:56
mvePete O'Hanlon19-Aug-09 3:56 
QuestionHow can I prevent a user to click a button more than once Pin
fiaolle18-Aug-09 9:13
fiaolle18-Aug-09 9:13 
AnswerRe: How can I prevent a user to click a button more than once Pin
Pete O'Hanlon18-Aug-09 9:56
mvePete O'Hanlon18-Aug-09 9:56 
GeneralRe: How can I prevent a user to click a button more than once Pin
fiaolle19-Aug-09 23:04
fiaolle19-Aug-09 23:04 
GeneralRe: How can I prevent a user to click a button more than once Pin
Pete O'Hanlon20-Aug-09 9:01
mvePete O'Hanlon20-Aug-09 9:01 
GeneralRe: How can I prevent a user to click a button more than once Pin
Jeremy Likness25-Aug-09 10:03
professionalJeremy Likness25-Aug-09 10:03 
Easiest way is just to mask the button. Put a rectangle in the same container that is the width/height of the button and make it transparent. When inside grids, etc, order matters - the rectangle should be represented AFTER the button so it is in the foreground. By default, set the visibility to collapsed. When the user clicks, set it to visible until you are done initializing, then collapse it again. It will mask any clicks or UI events but not fudge the UI.

XAML
<Grid> 
   <Button/>
   <Rectangle Fill="Transparent"/>
</StackPanel>
 

<div class="ForumSig">Jeremy Likness
Latest Article: <a href="http://www.codeproject.com/KB/cs/Collections_Part_1.aspx">Whats in Your Collection? Part 1 of 3: Interfaces</a>
Blog: <a href="http://csharperimage.jeremylikness.com/" target="_blank" title="CSharper Image">C#er : IMage</a></div>

QuestionAdding the WPF Ribbon Bar as a resource for my other apps Pin
trey white18-Aug-09 7:11
trey white18-Aug-09 7:11 
AnswerRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
Pete O'Hanlon18-Aug-09 9:24
mvePete O'Hanlon18-Aug-09 9:24 
GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
trey white18-Aug-09 10:26
trey white18-Aug-09 10:26 
GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
Pete O'Hanlon18-Aug-09 10:46
mvePete O'Hanlon18-Aug-09 10:46 
GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
trey white18-Aug-09 11:00
trey white18-Aug-09 11:00 
GeneralRe: Adding the WPF Ribbon Bar as a resource for my other apps Pin
Pete O'Hanlon18-Aug-09 11:11
mvePete O'Hanlon18-Aug-09 11:11 
QuestionWebClient usage from Silverlight not working fo me (Security?) Pin
pisanis18-Aug-09 5:06
pisanis18-Aug-09 5:06 
AnswerRe: WebClient usage from Silverlight not working fo me (Security?) Pin
Mark Salsbery18-Aug-09 12:54
Mark Salsbery18-Aug-09 12:54 
GeneralRe: WebClient usage from Silverlight not working fo me (Security?) Pin
pisanis19-Aug-09 4:42
pisanis19-Aug-09 4:42 
QuestionProgramatically Adding Wpf Custom controls into vs2008 toolbox in windows application. Pin
sivat51818-Aug-09 0:13
sivat51818-Aug-09 0:13 
AnswerRe: Programatically Adding Wpf Custom controls into vs2008 toolbox in windows application. Pin
User 27100921-Aug-09 3:04
User 27100921-Aug-09 3:04 
GeneralRe: Programatically Adding Wpf Custom controls into vs2008 toolbox in windows application. Pin
sivat51826-Aug-09 21:47
sivat51826-Aug-09 21:47 
QuestionBinding images to an ImageButton at runtime Pin
Wolfram Steinke17-Aug-09 16:47
Wolfram Steinke17-Aug-09 16:47 
AnswerRe: Binding images to an ImageButton at runtime Pin
Pete O'Hanlon17-Aug-09 22:41
mvePete O'Hanlon17-Aug-09 22:41 
GeneralRe: Binding images to an ImageButton at runtime Pin
Wolfram Steinke18-Aug-09 14:15
Wolfram Steinke18-Aug-09 14:15 
GeneralRe: Binding images to an ImageButton at runtime Pin
Christian Graus18-Aug-09 15:24
protectorChristian Graus18-Aug-09 15:24 
GeneralRe: Binding images to an ImageButton at runtime Pin
Pete O'Hanlon18-Aug-09 21:42
mvePete O'Hanlon18-Aug-09 21:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.