Skip to content
  • 0 Votes
    2 Posts
    0 Views
    N
    And this is the data getting fed into the "AI"s... M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    1 Posts
    1 Views
    No one has replied
  • DataTemplate Problem

    WPF wpf css wcf com help
    2
    0 Votes
    2 Posts
    7 Views
    R
    It sounds like you're creating two instances of the viewmodel. What does the PlayerHostView look like? "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • DataGrid Event Not Firing

    WPF wpf wcf com collaboration help
    3
    0 Votes
    3 Posts
    0 Views
    K
    Andre Oosthuizen wrote: no, we will not be opening your entire project to try and find a solution. Plenty of others have. In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
  • DataGrid Exception

    WPF css wpf wcf design help
    6
    0 Votes
    6 Posts
    0 Views
    K
    duh. Too many late nights Thanks In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
  • Custom Control Style Question Revisited

    WPF wpf question database wcf
    3
    0 Votes
    3 Posts
    1 Views
    K
    You're missing the point. When you buy a third party control, like say from Infragistics, and you use it in your app, when you write your own theme the third party control respects it. I'm trying to understand how to make my control work the same way In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
  • 0 Votes
    2 Posts
    0 Views
    N
    The three laws failed... and they think that this will do the job? As they say...[^] M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • Is there a way to Convert binding dataMember?

    C# wpf wcf question
    2
    0 Votes
    2 Posts
    0 Views
    A
    Yes you just need to use a Format event handler on the Binding object For example private void AddBinding() { // Enable formatting and add the event handler Binding b = color1.DataBindings.Add("BackColor", NavBill.DataSource, "Color1", true); b.Format += PanelBackColorBinding\_Format; } private void PanelBackColorBinding\_Format(Object sender, ConvertEventArgs e) { if (e.DesiredType == typeof(Color)) { // Get the integer value from the DataColumn Int32 number = (Int32)e.Value; // Get the Color corresponding to the number // \*\*\* PUT YOUR OWN CODE HERE \*\*\* Color col = GetColor(number); // Assign the correct Color back into e.Value e.Value = col; } } Make sure that a default color is assigned to e.Value if there is any chance that the column will have missing or non convertable values.
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    21 Posts
    0 Views
    J
    honey the codewitch wrote: they all have to have the same sig though. Ah...I see what you mean now by the hack part.
  • Custom Control Style Question

    WPF css database wpf wcf question
    5
    0 Votes
    5 Posts
    0 Views
    K
    Huh? That's even momre confusing In theory, theory and practice are the same. But in practice, they never are.” If it's not broken, fix it until it is. Everything makes sense in someone's mind.
  • 0 Votes
    7 Posts
    0 Views
    K
    Yes, in Visual Studio, right-click your project, select "Add Service Reference," input the SOAP web service URL, customize settings if needed, and proceed—it generates the C# files to call the service.
  • Razor RadioButton ViewModel Property Binding

    ASP.NET html asp-net wpf wcf sysadmin
    2
    0 Votes
    2 Posts
    0 Views
    R
    RadioButtonFor renders an <input type="radio"> with the name set to the property name, and the value set to the specified value. If the model property matches the specified value, then the radio button will be checked. <input type="radio"> - HTML: HyperText Markup Language | MDN[^] When the form is submitted, the name and value of the checked radio button (if any) will be sent to the server, and the model binder will use it to populate the property. Adding the extra HiddenFor for the same property should not be necessary. "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
  • Bubbling Event Question

    WPF wpf question csharp dotnet wcf
    13
    0 Votes
    13 Posts
    2 Views
    K
    Referring to the first pic with all the nested controls, I have this Routed even deep inside MyNewControl public static readonly RoutedEvent ItemSelectedEvent = EventManager.RegisterRoutedEvent("ItemSelected", RoutingStrategy.Tunnel, typeof(RoutedEventHandler), typeof(NavigationPane)); public event RoutedEventHandler ItemSelected { add { AddHandler(ItemSelectedEvent, value); } remove { RemoveHandler(ItemSelectedEvent, value); } } private void RaiseItemSelectedEvent() { // Raise the event, passing the selected item vars args = new SelectedItemEventArgs(ItemSelectedEvent, SelectedItem); RaiseEvent(args); } How do I catch this event in the window? What is the syntax? Using some kind of Preview_... is going to catch a LOT of events. Is there no way to subscribe directly to that event from the Window? If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
  • Expander Header Content Stretch

    WPF wpf help css wcf question
    3
    0 Votes
    3 Posts
    0 Views
    K
    That did it. I saw this article already and tried the XAML approach. I should have hep reading. Thanks If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
  • ListBoxItem DataTemplate with HyperLink Problem

    WPF wpf question wcf help
    3
    0 Votes
    3 Posts
    1 Views
    K
    That did it. Thanks If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
  • ListBox With Hyperlinks - Pass Bound Item

    WPF help wpf wcf question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • Expander in ListBoxItem Width Problem

    WPF help php wpf wcf com
    3
    0 Votes
    3 Posts
    1 Views
    K
    That did it. I spent hours trying to figure that out. It seems in this case all the properties have to be just right. Thanks If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.
  • Custom Navigation Control

    WPF wpf csharp asp-net wcf docker
    12
    0 Votes
    12 Posts
    0 Views
    K
    Richard, after implementing your changes, the loading works fine, but I now have this problem[^] with the expander headers. I would appreciate your input. If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.