|
For a multi-select, you should start thinking of using an ObservableCollection and updating that; that way changes are reflected back to the ListBox and you're not updating the ListBox yourself (and can ignore any ListBox events).
The multi-selections represent keys into your ObservableCollection; which could br shadowed with a dictionary.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
I have the following XAML that creates a Gear icon in a button. It works well with one problem... because the icon is made up of 2 Geometrys, the mouseover 'flickers' when the mouse pointer is in between them.
<Window.Resources>
<SolidColorBrush x:Key="normalColor">#0026FF</SolidColorBrush>
<SolidColorBrush x:Key="hoverColor">#E62DFF</SolidColorBrush>
<SolidColorBrush x:Key="pressedColor">#7F7818</SolidColorBrush>
<SolidColorBrush x:Key="disabledColor">#808080</SolidColorBrush>
<Geometry x:Key="settingsIconOutter">
M911 2215 c-34 -39 -36 -45 -54 -153 l-12 -73 -70 -30 -70 -29 -40
29 c-106 76 -117 81 -167 81 -67 0 -89 -14 -195 -122 -127 -130 -134 -176 -43
-305 28 -39 50 -74 50 -78 0 -4 -12 -38 -26 -75 l-27 -68 -51 -7 c-106 -14
-146 -26 -176 -57 l-30 -30 0 -177 0 -177 28 -26 c40 -38 59 -45 151 -59 58
-9 85 -17 88 -28 3 -9 16 -40 30 -70 l24 -55 -29 -40 c-77 -107 -82 -118 -82
-168 0 -67 14 -89 122 -195 131 -128 177 -134 309 -40 l74 53 65 -27 c72 -30
72 -30 91 -149 10 -63 17 -80 44 -107 l33 -33 177 0 178 0 32 35 c27 28 35 47
45 107 18 117 18 116 92 148 l67 28 77 -54 c70 -49 83 -54 131 -54 30 0 64 5
76 11 32 16 186 169 203 201 8 15 14 51 14 81 0 48 -5 61 -54 131 l-54 77 28
67 c32 74 31 74 150 93 63 10 80 17 107 44 l33 33 0 177 0 177 -33 33 c-26 26
-45 34 -102 44 -116 19 -126 22 -132 39 -3 10 -16 40 -28 69 l-23 51 49 69
c96 133 90 184 -40 316 -47 49 -98 95 -113 103 -15 8 -51 14 -80 14 -49 0 -61
-5 -132 -55 l-78 -54 -37 18 c-20 10 -52 24 -72 30 -34 11 -37 15 -43 64 -15
107 -27 147 -58 177 l-30 30 -178 0 -178 0 -31 -35z m309 -111 c0 -34 35 -204
46 -221 8 -13 40 -30 81 -43 37 -13 94 -36 125 -51 32 -16 68 -29 81 -29 13 0
61 27 107 60 46 33 86 60 89 60 4 0 36 -29 71 -65 49 -50 62 -69 55 -80 -93
-135 -115 -170 -115 -186 0 -11 13 -45 29 -77 15 -31 38 -87 50 -124 12 -36
27 -71 34 -76 7 -6 53 -17 102 -26 50 -9 100 -19 113 -21 21 -5 22 -10 22
-100 0 -109 16 -94 -134 -120 -48 -8 -94 -19 -102 -25 -7 -7 -20 -35 -30 -63
-9 -29 -32 -84 -50 -124 -19 -40 -34 -81 -34 -92 0 -10 28 -60 62 -111 l62
-91 -67 -66 -66 -67 -90 62 c-49 34 -99 62 -110 62 -12 0 -47 -13 -79 -29 -31
-15 -87 -38 -124 -50 -36 -12 -71 -28 -76 -34 -6 -7 -18 -53 -27 -102 -8 -50
-18 -100 -21 -112 -4 -22 -9 -23 -99 -23 -109 0 -94 -16 -120 134 -8 48 -19
94 -25 102 -7 7 -35 21 -63 30 -29 9 -81 30 -116 45 -93 42 -113 39 -213 -30
l-85 -60 -67 68 -68 68 61 85 c70 97 75 125 37 191 -13 23 -37 77 -52 120 -15
43 -34 82 -43 86 -9 5 -64 17 -124 26 l-107 18 0 97 0 97 109 18 c124 20 139
30 160 105 7 25 28 78 48 118 24 52 32 82 28 100 -3 15 -33 63 -65 107 l-59
80 69 69 68 69 69 -50 c116 -84 136 -89 206 -49 23 13 77 37 120 52 43 15 82
34 86 43 5 9 17 64 27 124 l18 107 98 0 c54 0 98 -3 98 -6z
</Geometry>
<Geometry x:Key="settingsIconInner">
M970 1601 c-154 -49 -279 -176 -324 -330 -25 -84 -21 -230 7 -311 73
-206 247 -330 462 -330 153 1 245 34 345 126 71 66 111 128 140 214 29 87 25
256 -9 339 -58 144 -177 253 -320 295 -75 22 -229 20 -301 -3z m293 -164 c71
-32 141 -102 175 -175 38 -81 38 -193 0 -274 -34 -73 -103 -142 -176 -176 -81
-38 -193 -38 -274 0 -73 34 -142 103 -176 176 -36 76 -38 192 -5 265 85 184
282 264 456 184z
</Geometry>
<Style TargetType="{x:Type Button}"
x:Key="settingsButton">
<Setter Property="Height" Value="120"/>
<Setter Property="Width" Value="120"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Viewbox>
<Grid>
<Path x:Name="outerPath" Data="{StaticResource settingsIconOutter}" Fill="{StaticResource normalColor}" />
<Path x:Name="innerPath" Data="{StaticResource settingsIconInner}" Fill="{StaticResource normalColor}" />
</Grid>
</Viewbox>
<ControlTemplate.Triggers>
<Trigger Property="Button.IsMouseOver" Value="true">
<Setter TargetName="outerPath" Property="Fill" Value="{StaticResource hoverColor}" />
<Setter TargetName="innerPath" Property="Fill" Value="{StaticResource hoverColor}" />
</Trigger>
<Trigger Property="Button.IsPressed" Value="true">
<Setter TargetName="outerPath" Property="Fill" Value="{StaticResource pressedColor}" />
<Setter TargetName="innerPath" Property="Fill" Value="{StaticResource pressedColor}" />
</Trigger>
<Trigger Property="Button.IsEnabled" Value="false">
<Setter TargetName="outerPath" Property="Fill" Value="{StaticResource disabledColor}" />
<Setter TargetName="innerPath" Property="Fill" Value="{StaticResource disabledColor}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
<StackPanel Orientation="Horizontal"
HorizontalAlignment="Center">
<pre>
<Button Style="{StaticResource settingsButton}"/>
<Button Style="{StaticResource settingsButton}"
IsEnabled="False"
Margin="20,0,0,0"/>
Paste this into a Window and you'll see what I mean.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
modified 9-May-19 16:02pm.
|
|
|
|
|
Set the grid's background to transparent:
<ControlTemplate>
<Viewbox>
<Grid Background="Transparent">
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hmm, I'm positive I tried that. But that fixed it.
Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
I'm trying to get a simple datagrid to work. I've been Googling and searching and can't figure this out.
Entity
public class PurchaseOrderEntity : _EntityBase
{
private int _Quantity;
public int Quantity
{
get { return _Quantity; }
set
{
if (_Quantity != value)
{
_Quantity = value;
RaisePropertyChanged("Quantity");
}
}
}
private int _SizeId;
public int SizeId
{
get { return _SizeId; }
set
{
if (_SizeId != value)
{
_SizeId = value;
RaisePropertyChanged("SizeId");
}
}
}
}
View Model
private List<PurchaseOrderEntity> _PurchaseOrders;
public List<PurchaseOrderEntity> PurchaseOrders
{
get { return _PurchaseOrders; }
set
{
if (_PurchaseOrders != value)
{
_PurchaseOrders = value;
RaisePropertyChanged("PurchaseOrders");
}
}
}
private PurchaseOrderEntity _SelectedPurchaseOrder;
public PurchaseOrderEntity SelectedPurchaseOrder
{
get { return _SelectedPurchaseOrder; }
set
{
if (_SelectedPurchaseOrder != value)
{
_SelectedPurchaseOrder = value;
RaisePropertyChanged("SelectedPurchaseOrder");
}
}
}
DataGrid
<DataGrid Grid.Row="2"
Margin="5"
x:Name="lumberGrid"
ItemsSource="{Binding PurchaseOrders}"
SelectedItem="{Binding SelectedPurchaseOrder, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
HorizontalGridLinesBrush="LightGray"
VerticalGridLinesBrush="LightGray"
AutoGenerateColumns="False"
CanUserAddRows="True"
CanUserDeleteRows="True"
CanUserReorderColumns="False"
CanUserResizeColumns="False"
CanUserSortColumns="False"
BorderBrush="SteelBlue"
BorderThickness="1"
HorizontalScrollBarVisibility="Auto"
VerticalScrollBarVisibility="Auto"
VerticalAlignment="Stretch">
<pre>
<DataGrid.Columns>
<DataGridTextColumn Header="Quantity"
Binding="{Binding Quantity, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Width="85"/>
<DataGridTemplateColumn Header="Size"
Width="85">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<ComboBox ItemsSource="{Binding Path=DataContext.LumberSizes, RelativeSource={RelativeSource AncestorType={x:Type Window}}}"
DisplayMemberPath="Caption"
SelectedValuePath="Id"
SelectedValue="{Binding SizeId, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
When I run the code, then click on the new row, a red border apprears around the datagrid, and the output window shows this message:
System.Windows.Data Error: 23 : Cannot convert '{NewItemPlaceholder}' from type 'NamedObject' to type 'Jayhawk.Entities.PurchaseOrderEntity' for 'en-US' culture with default conversions; consider using Converter property of Binding. NotSupportedException:'System.NotSupportedException: TypeConverter cannot convert from MS.Internal.NamedObject.
at System.ComponentModel.TypeConverter.GetConvertFromException(Object value)
at System.ComponentModel.TypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at MS.Internal.Data.DefaultValueConverter.ConvertHelper(Object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, Boolean isForward)'
System.Windows.Data Error: 7 : ConvertBack cannot convert value '{NewItemPlaceholder}' (type 'NamedObject'). BindingExpression:Path=SelectedPurchaseOrder; DataItem='AddEditPOViewModel' (HashCode=11892013); target element is 'DataGrid' (Name='lumberGrid'); target property is 'SelectedItem' (type 'Object') NotSupportedException:'System.NotSupportedException: TypeConverter cannot convert from MS.Internal.NamedObject.
at MS.Internal.Data.DefaultValueConverter.ConvertHelper(Object o, Type destinationType, DependencyObject targetElement, CultureInfo culture, Boolean isForward)
at MS.Internal.Data.ObjectTargetConverter.ConvertBack(Object o, Type type, Object parameter, CultureInfo culture)
at System.Windows.Data.BindingExpression.ConvertBackHelper(IValueConverter converter, Object value, Type sourceType, Object parameter, CultureInfo culture)'
What am I doing wrong here??
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
SelectedItem="{Binding SelectedPurchaseOrder, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
99% of the population would use the selected item changed event handler.
(and I would use a "form" for adding new records).
(MVVM sucks again in this case)
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
This is a heads up data entry form. The user needs to be able to enter a lot of data quickly. Stopping to grab the mouse is not really what they're looking for.
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
|
This feels like work arounds. I'll do an entry form is all else fails, but it has to be possible to do what I want. I've seen data entry grids before.
Gerry Schmitz wrote: (I though it was "heads-down")
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
You can do data entry in a data grid. You just wind up writing a lot more code and it gets very difficult to extend as soon as the user comes up with something weird.
And, you're always sitting "at the bottom" when adding a new record.
Combine the two: e.g.
CTRL+N: pops up the form for a new record.
PF5: pops up a form for the current record in grid (edit)
CTRL+D: delete the current record in grid.
CTRL+S: Save the current form / record (keep form open if in "data entry mode")
ESC: release the form.
Extra credits: Navigate in form.
(Keyboard preview key down and handled at the "form" / window / user control level)
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
I think your List<> in the viewmodel should be an ObservableCollection<>
I would also test it without the combobox in the grid (I NEVER allow complex controls in a data grid).
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
See my reply to Gerry
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
But but a combobox is going to slow down data entry, an auto complete textbox might be better with some validation after they leave the control.
I would try really hard to move the data entry to a panel instead of within the grid.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
|
Hi,
Could you please help me figure out how I could bind "SelectedItems" of a listbox?
Here I have a 'listbox_2' that contains a list of fruits and vegetables
There's another 'listbox_1' that contains groups of fruits and vegetables (under a list<of string=""> format...maybe is it my first error? Should it rather be a list of fruits/vegetables?) and a recipe.
I would like that on each group selection (in listbox_1), the corresponding fruits and vegetables would be selected (in listbox_2)...and make it possible to modify that list
https://i.imgur.com/nENJTCY.jpg
Unfortunately, the way to achieve this behavior stays obscure to me...could you please help?
Here's what I've set up untill now:
C#
public partial class MainWindow : Window
{
ItemList il;
GroupList gl;
public MainWindow()
{
InitializeComponent();
}
private void Window_Loaded(object sender, RoutedEventArgs e)
{
il = new ItemList();
ICollectionView cvs = CollectionViewSource.GetDefaultView(il);
cvs.SortDescriptions.Add(new SortDescription("_type", ListSortDirection.Ascending));
cvs.SortDescriptions.Add(new SortDescription("_name", ListSortDirection.Ascending));
cvs.GroupDescriptions.Add(new PropertyGroupDescription("_type"));
ListBox2.ItemsSource = cvs;
gl = new GroupList();
ICollectionView cvt = CollectionViewSource.GetDefaultView(gl);
ListBox1.ItemsSource = cvt;
}
}
public class Item
{
public string _type { get; set; }
public string _name { get; set; }
public Item()
{
}
}
public class ItemList : ObservableCollection<Item> {
public ItemList() {
base.Add(new Item() { _type = "fruit", _name = "apple" });
base.Add(new Item() { _type = "vegetable", _name = "potato" });
base.Add(new Item() { _type = "fruit", _name = "banana" });
base.Add(new Item() { _type = "vegetable", _name = "tomato" });
base.Add(new Item() { _type = "fruit", _name = "pear" });
base.Add(new Item() { _type = "vegetable", _name = "salad" });
base.Add(new Item() { _type = "fruit", _name = "orange" });
base.Add(new Item() { _type = "vegetable", _name = "onion" });
}
}
public class Group
{
public string _groupname { get; set; }
public List<String> _members { get; set; }
public string _recipe { get; set; }
public Group()
{
}
}
public class GroupList : ObservableCollection<Group>
{
public GroupList()
{
base.Add(new Group() { _groupname = "Group_1", _members = new List<String>() { "apple", "salad" }, _recipe = "Do this and do that" });
base.Add(new Group() { _groupname = "Group_2", _members = new List<String>() { "banana", "onion" }, _recipe = "Don't do that and do this" });
}
}
XAML
<Window x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525"
Loaded="Window_Loaded">
<Grid>
<Label Margin="12,0,378,283" Content="Group"></Label>
<Label Margin="190,0,200,283" Content="Members"></Label>
<Label Margin="309,0,81,283" Content="Recipe"></Label>
<TextBox Margin="309,34,12,12" DataContext="{Binding SelectedItem, ElementName=ListBox1}" Text="{Binding Path=_recipe, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"></TextBox>
<ListBox Margin="12,34,378,12" Name="ListBox1" SelectionMode="Single">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding _groupname}" />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
<ListBox Margin="190,34,199,12" Name="ListBox2" SelectionMode="Multiple" SelectedValuePath="_name">
<ListBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding _name}" />
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.GroupStyle>
<GroupStyle>
<GroupStyle.ContainerStyle>
<Style TargetType="{x:Type GroupItem}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Expander Header="{Binding Name}" IsExpanded="True">
<ItemsPresenter />
</Expander>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</GroupStyle.ContainerStyle>
</GroupStyle>
</ListBox.GroupStyle>
</ListBox>
</Grid>
</Window>
EDIT: from my reading, it seams that listboxes couldn't 'easily' bind 'SelectedItems'..maybe then a solution to bind to a checkbox component inside the listbox item?
Thanks for any kind help!
|
|
|
|
|
|
Does Microsoft have documentation for
System.Windows.Controls.DataVisualization.Charting
What is the URL?
|
|
|
|
|
|
Is this package still supported?
Should I be using some other package for charting in WPF?
|
|
|
|
|
As far as I can see, the Microsoft version has been abandoned.
The GitHub fork is more up-to-date, but it hasn't been updated since July 2017. It also has no documentation, since they were relying on the CodePlex documentation for the original Microsoft version.
There are some suggestions for alternatives - both free and commercial - in this StackOverflow thread[^]. A lot of the answers are quite old, but the top answer was edited a couple of weeks ago, so it's hopefully still relevant.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I want to plot my line series without data markers and set the color of the line. I am using WPF, but populating my data in the C# code. Below is my WPF
<chart:Chart
Name="PerfChart"
Grid.Row="1"
HorizontalAlignment="Stretch"
Margin="0,0,0,0"
Title="Chart Title"
VerticalAlignment="Stretch"
Height="Auto" Width="Auto"
>
<chart:Chart.LegendStyle>
<Style TargetType="dv:Legend">
<Setter Property="VerticalAlignment" Value="Top"></Setter>
<Setter Property="HorizontalAlignment" Value="Center"></Setter>
</Style>
</chart:Chart.LegendStyle>
</chart:Chart>
I am populating the in c#
public void LoadLineChartData()
{
Dictionary<Date,double> cbHist =
Controller.CostBasisHistory(strDate, endDate, finInstFilter, port);
List < KeyValuePair<DateTime, double> > cbList = new List<KeyValuePair<DateTime, double>>();
foreach(Date dt in cbHist.Keys)
{
cbList.Add(new KeyValuePair<DateTime, double>(dt.ToDateTime(),cbHist[dt]) );
}
Style pointStyle = new Style(typeof(Control));
LineSeries series1 = new LineSeries();
series1.DependentValuePath = "Value";
series1.IndependentValuePath = "Key";
series1.Title = "Cost Basis";
series1.DataPointStyle = pointStyle;
series1.ItemsSource = cbList;
PerfChart.Series.Clear();
PerfChart.Series.Add(series1);
}
I believe I am suppose to use the Style class to do this but do not know how to use it.
|
|
|
|
|
the problem is that i only get 1 button in each tab item. and i get a tabitem for each file in the specific folder. instead of only a couple of headers
in the directory sounds, there are 5 folders, (set 1-5) these i want as tabitem.header. and within these folders i want buttons linked to the files within set 1-5
i hope in problem is clear. i am faily new to c# coding. ad my apologies for my bad english.
can some1 plz help met out here?
<pre>public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
string path1 = @"d:\\root\\sounds\\";
string[] files = Directory.GetFiles(path1, "*.*", SearchOption.AllDirectories);
string[] dir = Directory.GetDirectories(path1);
string result;
foreach (string sFile in files)
{
Button nwbut = new Button();
result = System.IO.Path.GetFileNameWithoutExtension(sFile);
nwbut.Content = result;
nwbut.Height = 30;
nwbut.Width = 80;
nwbut.Margin = Margin = new Thickness(5, 5, 5, 5);
nwbut.Click += (s, e) => { mediaElement2.Source = new Uri(sFile); };
WrapPanel wp = new WrapPanel();
wp.Children.Add(nwbut);
Grid gr = new Grid();
gr.Children.Add(wp);
TabItem ti = new TabItem();
ti.Content = gr;
foreach (string header in dir)
ti.Header = System.IO.Path.GetFileNameWithoutExtension(header);
tc.Items.Add(ti);
}
}
}
}
|
|
|
|
|
You wrote:
TabItem ti = new TabItem();
ti.Content = gr;
<pre>
foreach (string header in dir)
ti.Header = System.IO.Path.GetFileNameWithoutExtension(header);
tc.Items.Add(ti);</pre>
Which is the same tab added multiple times to tc .
I would expect this to throw an exception...
Anyhow only 1 TabItem is created here...
|
|
|
|
|
I'm using this method to bind my enums. This works really well and I live it a lot.
Now, I want to show only SOME of the enum items in the combobox. I found this answer but I can't quite figure out how to combine them both.
I have this:
<ComboBox Grid.Row="2"
Grid.Column="1"
ItemsSource="{Binding Source={local:EnumBindingSource {x:Type local:EmployeeStatus}},
Converter={StaticResource EnumToListConverter},
ConverterParameter='SoSo;Good'}"/>
My code is causing the enums to be passed into the EnumToListConverter as a list, so at the top of the answer's code the null check is causing it to throw.
Can someone help me combine these two approaches into one?
Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
|
|
|
|
|
Try something like this:
public class EnumExcludeFilterConverter : IValueConverter
{
private static readonly char[] Separators = { ';' };
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
string filters = parameter == null ? String.Empty : parameter.ToString();
if (string.IsNullOrWhiteSpace(filters)) return value;
Array allValues = value as Array;
if (allValues == null || allValues.Length == 0) return value;
Type enumType = value.GetType().GetElementType();
if (!enumType.IsEnum) return value;
ICollection<string> splitFilters = filters.Split(Separators, StringSplitOptions.RemoveEmptyEntries);
if (splitFilters.Count == 0) return value;
List<Enum> result = new List<Enum>(allValues.Length);
foreach (Enum item in allValues)
{
string itemName = Enum.GetName(enumType, item);
if (!splitFilters.Contains(itemName))
{
result.Add(item);
}
}
return result;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
}
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|