Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: gstercken

Page 1 of 80 1 2 3 4

Search: Search took 0.17 seconds.

  1. Re: Binding ComboBox to XML data. Having a problem.

    You need to select the individual item node in your XPath expression, like this:



    <ComboBox.ItemsSource>
    <Binding Source="{StaticResource SerialPortOptions}"...
  2. Re: having trouble clearing a listBox that is databound.

    Your ListBox is bound to a DataSet - and hence always reflects the state of the Dataset. That's why trying to manipulate the ListBox items directly leads to a conflict, and that's what the error...
  3. Replies
    4
    Views
    2,996

    Re: hiding a button on click

    @Arjay: Cool! :thumb: As it is good practice with WPF, a declarative / XAML-only approach is always to be considered better than any solution involving code-behind... :)

    @neo_xaml: Please use code...
  4. Re: WPF Performance problems for displaying grid-like planning application

    Aside from just stating that normally, and in theory, the VirtualizingStackPanel approach (or, styling an existing control that is already virtualizing) should be the way to go - but with WPF, theory...
  5. Re: WPF Control - How to hide a property @ design time.

    Yes, it is possible, by setting the BrowsableAttribute of your property to false:

    [Browsable(false)]
    public string MyProperty
    {
    get;
    set;
    }

    Edit: Just making sure - you are talking...
  6. Replies
    4
    Views
    2,996

    Re: hiding a button on click

    You don't need to pass your own parameter for that - in the Click event handler you assign to the buttons, you can evaluate either the 'sender' parameter, or the event arguments' 'Source' property...
  7. Re: Adding a NumericUpDown instance to a Canvas instance

    You basically have two options: Either use interop for embedding an existing WinForms control like NumericUpDown into a WPF app (discouraged, complicated, tedious, unelegant), or simply reproduce the...
  8. Replies
    2,687
    Views
    484,105

    View Post

    Bukas Na Lang Kita Mamahalin - Lani Misalucha :)
  9. Replies
    1
    Views
    6,413

    Re: DataGrid Header fontweight to Bold

    Probably the easiest way to accomplish this is by setting the DataGrid's ColumnHeaderStyle to a Style that sets the FontWeight accordingly. The following code shows how you could set the Style...
  10. Re: Set SelectedIndex dynamically from datagrid

    Yes, DataGrid has a SelectedIndex property that can be set. But what do you mean by "dynamically ... from a datagrid tag"? :confused:
  11. Replies
    2
    Views
    2,318

    Re: validate between time start and time end

    Hm... And what exactly is your question? ;)
  12. Replies
    7
    Views
    2,539

    Re: Stopping a Window from loading twice.

    Hm... But I still don't understand why you wouldn't simply handle the window's Closed event? That way, you can easily keep track of any window's state.
  13. Replies
    7
    Views
    2,539

    Re: Stopping a Window from loading twice.

    Just wondering... What stops you from simply using a boolean status variable for keeping track of the window's state - instead of testing IsDisposed()?
  14. Replies
    1
    Views
    3,667

    Re: Combobox in TreeViewItem

    Definitely! But in order to achieve this, you need make the combobox part of the TreeViewItem's header, instead of adding it to the child items.

    In order to display the label string and the...
  15. Re: Make a copy of a treeviewitem without parent

    I'm not sure if I fully understand your problem... But "adding an item to another TreeView without removing it from the original" boils down to first creating a copy of the existing item, and then...
  16. Thread: Draw Line

    by gstercken
    Replies
    1
    Views
    7,684

    Re: Draw Line

    Well, this is sort of obvious, since it's exactly what your code does: It creates a new Line object on every MouseMove event. I guess what you intended is to create the new line in your MouseDown...
  17. Replies
    1
    Views
    2,321

    Re: Layout manager for my Dshboard

    With WPF, you don't need a separate layout manager: It is built-in. For example, it is sufficient to place your content panes inside a WrapPanel for obtain an effect similar to the one in the Flex...
  18. Replies
    1
    Views
    1,669

    Re: Simple databinding scenario

    This happens because in your OnPropertyChanged() implementation, you are passing null as the source object. You should pass a reference to the changed object ('this', in this case) instead:


    void...
  19. Replies
    8
    Views
    2,884

    Re: is WPF still BETA?

    I was about to reply something exactly along the lines of what TheCPUWizard said... I fully agree. By now, WPF is long being productively used used in more and more large-scale projects.

    However,...
  20. Re: coding in vb.net but designing GUI with silverlight

    Yes, sure it is possible... Starting with Silverlight 2.0, the code-behind is no longer bound to be Javascript, but can be any .NET language, including VB.net.

    However, are you aware that...
  21. Replies
    17
    Views
    1,883

    Re: Baffling memory error

    Okay, but - the _CrtCheckMemory() call not failing here doesn't say much. You say the index is definitely within the array bounds - are you really sure? I'd start by having a look at where and how...
  22. Re: Isn't C++ Suppose to be faster than .NET?

    Who said that? I mean, what makes you think so? There are even scenarios where managed .NET code can execute faster than native code - for example, due to just-in-time compiling for the actual target...
  23. Replies
    3
    Views
    1,116

    Re: Repaint only part of the client area

    Sure - that's exactly what InvalidateRect() and InvalidateRgn() are for.
  24. Thread: Chrome

    by gstercken
    Replies
    1
    Views
    1,312

    Re: Chrome

    Hm, what exactly are you having problems with? The source code can be downloaded as a tar.gz archive from here, and everything is explained in the Getting Started docs for developers.
  25. Replies
    1
    Views
    2,890

    Re: MS VS 2008 Pro vs. Standard

    Hm, maybe you haven't looked hard enough? ;)

    Here's the detailed product comparision on MSDN.
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center