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

Search:

Type: Posts; User: gurge60

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    1,153

    attend the Seattle Code Camp 5.0 virtually

    For the first time this year, the Seattle Code Camp (April 17-18) is providing live video for many of its sessions within a virtual event. C#, .NET & Silverlight, database, architecture, and other...
  2. Replies
    1
    Views
    10,156

    Re: WPF Image list viewer problem

    I'm not sure if a scrollviewer is the way to go or not... but in general you will want to look into WPF controls that provide virtualization features by default (ListBox and ListView). As you already...
  3. Replies
    1
    Views
    6,739

    Re: How to display canvas thumbnails.

    I may not fully understand the question, but here is one method to display an image dynamically (in code):

    I assume that you have an Image control defined somewhere where you want to display the...
  4. Replies
    3
    Views
    3,682

    Re: WPF and the tab control

    Maybe, I don't know for sure. I'm running VS 2008 Development Edition version 9.0.30729.1 for what it's worth.
  5. Replies
    1
    Views
    9,955

    Re: Number updown control in my WPF

    NumericUpDown Custom Control in an External Library Sample

    Some more ideas:
    Create a user control that is composed of a TextBox and two buttons. You'll have to do some extra work to get just...
  6. Re: How to set scrolling property for canvas in WPF

    To scroll a Canvas, stick it in a ScrollViewer:



    <ScrollViewer>
    <Canvas />
    </ScrollViewer>
  7. Re: How to display RSS feed videos in the WPF page

    Hello.

    Search for MediaElement. Also look for WPF media players on codeplex and codeproject there are quite a few that show how to use MediaElement.
  8. Replies
    7
    Views
    24,221

    Re: WPF Button Content Multi-line

    I think that you can set the ContentPresenter's ContentTemplate like so:



    <ContentPresenter RecognizesAccessKey="True"
    Margin="2,2,2,2"
    VerticalAlignment="Center">
    ...
  9. Thread: Listview

    by gurge60
    Replies
    4
    Views
    6,149

    Re: Listview

    I don't think I am following you very well. I assumed from your original post that you were trying to take some existing Windows Forms code and port it over to WPF. Are we both talking WPF here or...
  10. Thread: Listview

    by gurge60
    Replies
    4
    Views
    6,149

    Re: Listview

    Look into using the ItemTemplate for the ListView. This defines what controls will be rendered for each item. Check out MSDN for more details. If your new to WPF and templating in general, definitely...
  11. Thread: [WPF] Binding

    by gurge60
    Replies
    1
    Views
    4,604

    Re: [WPF] Binding

    Is the data provider hooked up to anything in XAML at all or is it just used in your code? If it is just used in your code, the data may not be loaded as you would expect. Try setting IsAsynchronous...
  12. Replies
    3
    Views
    3,682

    Re: WPF and the tab control

    I assume that you are talking about working in the XAML Design view? One way to switch tabs is to set the SelectedIndex of the TabControl in the Properties window.
  13. Replies
    1
    Views
    6,883

    Re: ComboBox binding to another.

    Setup:
    1) Put all the combo boxes within some sort of container, like a StackPanel
    2) Assign the Companies business object to the DataContext for the StackPanel

    Companies combo box:
    3) Set...
  14. Replies
    1
    Views
    4,369

    Re: Calling a field and replace

    Here is one possibility:

    1) Create a handler for the DataGrid.AutoGeneratingColumn event
    2) In the DataGrid.AutoGeneratingColumn event, examine the column header values looking for the one you...
  15. Replies
    1
    Views
    7,641

    Re: TabControl and my Adorner

    This my provide the answer you seek:

    http://karlshifflett.wordpress.com/2008/02/19/wpf-validation-errors-disappear-inside-tabcontrol-when-switching-tabitems/
  16. Re: IT College - Databases - What Program To Take?

    You're right when you say that the company you work for can have everything to do with what database-related chores are available for you to work on. Some small companies (or just small projects...
  17. Replies
    1
    Views
    10,215

    Re: Skip tabs for specific columns

    You need to set the IsTabStop property on the individual DataGridCell items, which you can do by setting the DataGridTextColumn.CellStyle. Something like the following should work:

    ...
  18. Replies
    2
    Views
    3,091

    Re: Problem with KeyDown Event in Windows mobile

    It's a fairly involved process, but check out this MSDN magazine article:
    Windows Messages: Add Keyboard Support to Compact Framework Apps
  19. Re: How to save data from datagrid to excel in vb.net?

    Also check out the Excel Automation Tasks how-to links on MSDN.
  20. Replies
    1
    Views
    1,494

    Re: Browser to Bookmarks

    I can't fully answer your question for all platforms, but adding bookmarks via a link on a Webpage via JavaScript is a no-go at least for Windows Mobile 5.
  21. Re: downsides of mobile devices from PC or labtop

    I think that most modern mobile phones (I think that is what you are referring to by mobile device) can handle encryption and decryption of data just fine from a resource perspective. We would...
  22. Re: How to get the text value of a bound data item in code??

    When iterating the Items collection, cast each item to the data type that is bound to your ComboBox and access the desired property. For example:

    foreach (var item in this.comboBox.Items)
    {
    ...
  23. Replies
    1
    Views
    8,224

    Re: WPF: Controlling multiple storybords?

    For your scenario I would check out the section titled "Remove an animation from an individual property" in this MSDN whitepaper:

    http://msdn.microsoft.com/en-us/library/aa970493.aspx
  24. Re: Unable to open 2 or more outlook contact detail

    Try contact.Display(false) instead. When you pass true, you are saying that you want the window to be modal.
  25. Replies
    3
    Views
    12,124

    Re: Color code converter issue vb/wpf

    I just learned that the format of VB colors is BBGGRR rather than .NETs AARRGGBB, so something like the following may help get all your color bits lined up:



    Color ColorFromVB(int VBcolor)
    {
    ...
Results 1 to 25 of 37
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured