Click here to Skip to main content
14,768,530 members
Home » Discussions » Silverlight / WPF
   

Silverlight / WPF

 
QuestionDisplaying a grid of mixed controls from tabular data: solved Pin
Leif Simon Goodwin6-Jun-18 5:04
mvaLeif Simon Goodwin6-Jun-18 5:04 
AnswerRe: Displaying a grid of mixed controls from tabular data Pin
Pete O'Hanlon7-Jun-18 5:06
mvePete O'Hanlon7-Jun-18 5:06 
AnswerRe: Displaying a grid of mixed controls from tabular data Pin
Gerry Schmitz7-Jun-18 8:01
mveGerry Schmitz7-Jun-18 8:01 
GeneralRe: Displaying a grid of mixed controls from tabular data Pin
Leif Simon Goodwin14-Jun-18 22:36
mvaLeif Simon Goodwin14-Jun-18 22:36 
QuestionWPF Toolkit PropertyGrid Pin
Kevin Marois5-Jun-18 5:30
professionalKevin Marois5-Jun-18 5:30 
SuggestionRe: WPF Toolkit PropertyGrid Pin
Richard Deeming5-Jun-18 10:30
mveRichard Deeming5-Jun-18 10:30 
GeneralRe: WPF Toolkit PropertyGrid Pin
Kevin Marois5-Jun-18 11:24
professionalKevin Marois5-Jun-18 11:24 
GeneralRe: WPF Toolkit PropertyGrid Pin
Richard Deeming6-Jun-18 2:21
mveRichard Deeming6-Jun-18 2:21 
QuestionStyle Problem Pin
Kevin Marois9-May-18 13:03
professionalKevin Marois9-May-18 13:03 
AnswerRe: Style Problem Pin
Mycroft Holmes9-May-18 15:25
professionalMycroft Holmes9-May-18 15:25 
QuestionDataGrid Template Column Binding Pin
Kevin Marois9-May-18 6:05
professionalKevin Marois9-May-18 6:05 
AnswerRe: DataGrid Template Column Binding Pin
Nathan Minier9-May-18 8:15
professionalNathan Minier9-May-18 8:15 
GeneralRe: DataGrid Template Column Binding Pin
Kevin Marois9-May-18 10:48
professionalKevin Marois9-May-18 10:48 
GeneralRe: DataGrid Template Column Binding Pin
Nathan Minier10-May-18 2:04
professionalNathan Minier10-May-18 2:04 
QuestionDataGrid DataGridCheckBoxColumn Property Change Not Firing Pin
Kevin Marois2-May-18 7:52
professionalKevin Marois2-May-18 7:52 
AnswerRe: DataGrid DataGridCheckBoxColumn Property Change Not Firing Pin
Richard Deeming2-May-18 9:40
mveRichard Deeming2-May-18 9:40 
GeneralRe: DataGrid DataGridCheckBoxColumn Property Change Not Firing Pin
Kevin Marois2-May-18 10:46
professionalKevin Marois2-May-18 10:46 
QuestionWPF NIC counters Pin
Member 138058691-May-18 14:33
MemberMember 138058691-May-18 14:33 
AnswerRe: WPF NIC counters Pin
Gerry Schmitz2-May-18 12:27
mveGerry Schmitz2-May-18 12:27 
QuestionMagnify shader effect Pin
Nick Hallas1-May-18 11:33
MemberNick Hallas1-May-18 11:33 
AnswerRe: Magnify shader effect Pin
Gerry Schmitz2-May-18 12:39
mveGerry Schmitz2-May-18 12:39 
QuestionAssign Collection Items In XAML Pin
Kevin Marois23-Apr-18 9:40
professionalKevin Marois23-Apr-18 9:40 
I created an attached property of type List<string>. How do you assign list items to the collection in XAML?
<h1>region MyItems Collection</h1>

public static readonly DependencyProperty MyItemsProperty =
        DependencyProperty.RegisterAttached("MyItems",
                        typeof(List<string>),
                        typeof(MyClass),
                        new UIPropertyMetadata(null,
                                new PropertyChangedCallback(OnMyItemsChanged)));

public static List<string> GetMyItems(DependencyObject obj)
{
    return (List<string>)obj.GetValue(RightsKeyProperty);
}

public static void SetMyItems(DependencyObject obj, List<string> value)
{
    obj.SetValue(MyItemsProperty, value);
}

private static void OnMyItemsChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
{
}
<h1>endregion</h1>
<blockquote class="quote"><div class="op">Quote:</div><TextBox Grid.Row="1"
            Grid.Column="1"
            Text="{Binding CreditLimit, Mode=TwoWay}"
            Width="100"
            sec:MyClass.MyItems=""   <!--HOW DO I ASSIGN MULTIPLE ITEMS HERE-->
            HorizontalAlignment="Left"
            Margin="10"/>
</blockquote>
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Assign Collection Items In XAML Pin
Richard Deeming23-Apr-18 9:58
mveRichard Deeming23-Apr-18 9:58 
GeneralRe: Assign Collection Items In XAML Pin
Kevin Marois23-Apr-18 10:25
professionalKevin Marois23-Apr-18 10:25 
AnswerRe: Assign Collection Items In XAML Pin
Maciej Los23-Apr-18 10:56
mveMaciej Los23-Apr-18 10:56 

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.