brianlagunas_cp
efb4e47187
Calculator: fixed bug where key would appearstuck when typing the values rapidly with the keyboard.
14 years ago
brianlagunas_cp
3f1d3ad4aa
PropertyGrid: fixed issue with ExpandableProperty past 1 level
14 years ago
brianlagunas_cp
f271a3c805
PropertyGrid: fixed possible null reference exception nwhen setting the Filter
14 years ago
brianlagunas_cp
91cb7e1914
messing with ButtnoSpinner demo
14 years ago
brianlagunas_cp
ad527a73ae
ColorPicker: fixed selected color not streching to length of control.
14 years ago
brianlagunas_cp
26fec8df2a
tons of fun with theming.
14 years ago
brianlagunas_cp
ec9f9cc534
playing with theming
14 years ago
brianlagunas_cp
29ac63a65d
PropertyGrid: added FilterWatermark property which allows you to customize the watermark of the Filter textbox.
14 years ago
brianlagunas_cp
d881eead18
Wizard: fixed closing parent window exception when window was not shown with ShowDialog.
14 years ago
brianlagunas_cp
6ffe5c2220
MaskedTextBox: fix bug with not properly handling optional digits represented by 9
14 years ago
brianlagunas_cp
fad356b88d
PropertyGrid; fixed null exception when clicking the categorize and alphabetize buttons when the SelectedObject is null.
14 years ago
brianlagunas_cp
eb88719af7
PropertyGrid: ExpandableObject editor is now read only.
14 years ago
brianlagunas_cp
107287c251
PropertyGrid: fixed issue wtih ExpandableObject not expanding when private setter is present.
14 years ago
brianlagunas_cp
03cc414929
More theming fun with the ButtonSpinner
14 years ago
brianlagunas_cp
ad8ed27f51
PropertyGrid: fixed issue where an ExpandableObject would only show properties of a base class or interface.
14 years ago
brianlagunas_cp
265b4c02aa
Starting to play around with theming. Starting with the ButtonSpinner.
15 years ago
brianlagunas_cp
d9e0681ac9
Selector: fixed possible null object exception.
15 years ago
brianlagunas_cp
e129c60465
DateTimeParser: now correctly parses SortableDateTime and UniversalSortableDateTime formats
15 years ago
brianlagunas_cp
aea813be8c
merged changes into .NET 3.5 solution
15 years ago
brianlagunas_cp
6b7823d4ac
CheckComboBox: dropdown closes when clicking outside the control.
15 years ago
brianlagunas_cp
095de0345e
merged new controls into 3.5 solution.
15 years ago
brianlagunas_cp
7c10f04894
made some slight changes to the CheckListBox/CheckComboBox.
IMPORTANT: There is a SelectedItems property for both controls, but it is intended to be ReadOnly. You cannot data bind to ReadOnly DependencyProperties, so in order to enable the scenario of data binding to the SelectedItems from a ViewModel, I had to leave it as a public get/set property. For this binding to work correctly, you MUST set the binding Mode=OneWayToSource for the SelectedItems property.
15 years ago
brianlagunas_cp
201a9243f8
Added SelectedMemberPath to CheckListBox and CheckComboBox
15 years ago
brianlagunas_cp
a5d3633aac
stablized the CheckListBox and CheckComboBox
15 years ago
brianlagunas_cp
d89cbe19fa
working on the CheckComboBox and CheckListBox. Do not use them, they are not ready.
15 years ago
brianlagunas_cp
1cd44b2114
CheckComboBox: updated selected items based off of SelectedValue
15 years ago
brianlagunas_cp
ca42a8ac57
fixed type in Selector base class and added IsSelected property to the SelectedItemChangedEventArgs class
15 years ago
brianlagunas_cp
d073b12f3c
BREAKING CHANGES: CheckComboBox and CheckListBox now derives from same Selector base class.
15 years ago
brianlagunas_cp
f3aad8decc
added new CheckComboBox control.
15 years ago
brianlagunas_cp
b7a284dd99
TokenizedTextBox: handling proper deletion of tokens using the Back and Delete keys.
15 years ago
brianlagunas_cp
07f8e54f87
TokenizedTextBox: fixed bug when adding spaces before a toekn which would add extra runs and cause an exception when trying to delete the token by using the embedded delete button.
15 years ago
brianlagunas_cp
bdcfc9c093
TokenizedTextBox: got the basics working. No autocomplete yet, but the value is looked up from the ItemsSource. This control can be used with or without an itemsrouce backing values. If no ItemsSource is define, the Text property will be a list of semi-colon separated values. If backed by an ItemsSource the Text property will be a semi-colon separated list of values based on the ValueMemberPath property:
<extToolkit:TokenizedTextBox x:Name="_textBox"
DisplayMemberPath="FullName" //value to display
SearchMemberPath="FirstName" //value to search for when typing
ValueMemberPath="Id" //value to store in text property />
//code behind
_textBox.Text = "1;2;"; //list of object ids
_textBox.ItemsSource = new List<Email>() //use as lookup values
{
new Email() { Id = 1, FirstName = "John", LastName = "Doe", EmailAddress = "john@test.com" },
new Email() { Id = 2, FirstName = "Jane", LastName = "Doe", EmailAddress = "jane@test.com" },
};
15 years ago
brianlagunas_cp
0499cd1b56
added new control TokenizedTextBox. Not ready for use yet, still working on architecture and funtionality.
15 years ago
brianlagunas_cp
7549ac5bbe
DateTimePicker: fixed dropdown when IsReadOnly = true
15 years ago
brianlagunas_cp
8931793f6b
forgot to remove test code.
15 years ago
brianlagunas_cp
cd5b6355a9
DateTimeUpDown: fixed bug with CultureInfo
15 years ago
brianlagunas_cp
40e30adeea
PropertyGrid: added demo to sample application on how to deal with binding to Structs
15 years ago
brianlagunas_cp
af4c60208d
Moved PropertyGrid changes into .NET 3.5 solution
15 years ago
brianlagunas_cp
ffe69102e1
Wizard: fixed bug when trying to navigate to the previous page (first page) from the second WizardPage in the Items collection.
15 years ago
brianlagunas_cp
3b3e10da10
PropertyGrid: Added PropertyGrid examples to the Samples application.
15 years ago
brianlagunas_cp
bafa2e2702
PropertyGrid: removed IEditorDefinition interface.
15 years ago
brianlagunas_cp
f27e96d16e
PropertyGrid: no longer support the ExpandableObjectConverter syntax for defining a complex property. I have added a new attribute called ExpandableObjectAttribute.
The syntax is as follows:
public class Person
{
[Description("First Name")]
public string FirstName { get; set; }
[Description("Last Name")]
public string LastName { get; set; }
[ExpandableObject]
public Person Spouse { get; set; }
}
15 years ago
brianlagunas_cp
50f76f0649
PropertyGrid: added new property called AutoGenerateProperties. When true it will autogenerate all properties for an object. Wehn set to false if till not generate any properties, but instead you supply the property to show be defining PropertyDefinitions. here is an example:
<extToolkit:PropertyGrid AutoGenerateProperties="False">
<extToolkit:PropertyGrid.PropertyDefinitions>
<extToolkit:PropertyDefinition Name="FirstName" />
<extToolkit:PropertyDefinition Name="Age" />
</extToolkit:PropertyGrid.PropertyDefinitions>
</extToolkit:PropertyGrid>
This will only show the FirstName and Age properties of the bound object.
15 years ago
brianlagunas_cp
bdbd98b09e
PropertyGrid: fixed alignment of grid splitter for expanded properties
15 years ago
brianlagunas_cp
064367f381
PropertyGrid: indented child properties when drilling down the property hierarchy
15 years ago
brianlagunas_cp
093c0485c2
PropertyGrid: Implemented support for complex properties. You can now drill down into a hierarchy of an object's properties. I an not sure if I will create my own attribute or use the following syntax.
[TypeConverter(typeof(ExpandableObjectConverter))]
public Person Admin
{
get { return _admin; }
set { _admin = value; }
}
For now it works with the above syntax.
15 years ago
brianlagunas_cp
f39523515d
PropertyGrid: Deleted custom TypeEditorAttribute for defining editors and instead use the already common EditorAttribute provided my the .NET framework. Editors MUST implement the ITypeEditor interface. So now to declare custom editors you define them as follows:
private TimeSpan _timeSpan;
[Editor(typeof(MyCustomEditor), typeof(MyCustomEditor))]
public TimeSpan TimeSpan
{
get { return _timeSpan; }
set { _timeSpan = value; }
}
public class MyCustomEditor : ITypeEditor
{
public FrameworkElement ResolveEditor(PropertyItem propertyItem)
{
TextBox editor = new TextBox();
Binding binding = new Binding("Value"); //bind to the Value property of the PropertyItem instance
binding.Source = propertyItem;
binding.Mode = propertyItem.IsWriteable ? BindingMode.TwoWay : BindingMode.OneWay;
BindingOperations.SetBinding(editor, TextBox.TextProperty, binding);
return editor;
}
}
15 years ago
brianlagunas_cp
00ca8aaa08
PropertyGrid: fixed the alphabetical sorting. Got to watch those "magic strings" when renaming.
15 years ago
brianlagunas_cp
6e14016bba
PropertyGridItem: removed the feature of giving the editor focus when selecting a property. It was causing too many issues with custom editors
15 years ago
brianlagunas_cp
34911b8c1b
PropertyGrid: removed code that would gurantee that a editor will receiev focus, and instead the PropertyGrid does the best it can to give focus to the editor when a property is selected. This fixes problems when creating custom editors that depend on the MouseDown event
15 years ago