New Post: Dynamically show/hide disable/enable some properties in...
Hi, Is there a way to show/hide some properties based on the input value of a property value on the PropertyGrid? For example, when property A = "true", I want to hide properties B, C, D, E currently...
View ArticleNew Post: Dynamically show/hide disable/enable some properties in...
Hi, related to this issue : https://wpftoolkit.codeplex.com/workitem/18507
View ArticleNew Post: PropertyGrid Collection Editor - Class types for new objects
Hi, Try doing the following in your callbacks CollectionControl_ItemAdded and CollectionControl_ItemDeleted : var col = sender as CollectionControl; if( col != null ) { col.PersistChanges(); } It...
View ArticleNew Post: PropertyGrid: custom editor propertyItem.Instance is null
Hi, I have created my own customer editor. In the ResolveEditor(...) method, I tried to access propertyItem.Instance but it always give me null. I am using PropertyGrid plus editor v2.3.14317.10540....
View ArticleNew Post: PropertyGrid: custom editor propertyItem.Instance is null
Hi, Can you give a code snippet to be able to reproduce the issue ? Thanks.
View ArticleNew Post: PropertyGrid: custom editor propertyItem.Instance is null
The customer editor code is as follows:public class DefaultUomEditor : ITypeEditor { private TextBox _tb; public DefaultUomEditor() { _tb = new TextBox(); } public System.Windows.FrameworkElement...
View ArticleNew Post: PropertyGrid: custom editor propertyItem.Instance is null
Hi, using your code in a small stand-alone application, I place a breakpoint in DefaultUomEditor.ResolveEditor() and propertyItem.Instance is not null. Could it be related to something else ? Also, I...
View ArticleNew Post: Bind CollectionControl isEnabled property and style
I have managed to bind the IsEnabled property of a variable displayed in a CollectionEditor by editing Xceed.Wpf.Toolkit\CollectionControl\Themes\Generic.xaml using EditorTemplateDefinition as...
View ArticleNew Post: Bind CollectionControl isEnabled property and style
Hi, You can try with a PropertyGridEditorTextBox :<xctk:PropertyGrid.EditorDefinitions> <xctk:EditorTemplateDefinition TargetProperties="UConstruction">...
View ArticleNew Post: Bind CollectionControl isEnabled property and style
Thanks for the help. It turns out, I actually needed PropertyGridEditorDoubleUpDown, i.e. I edited Xceed.Wpf.Toolkit\CollectionControl\Themes\Generic.xaml as...
View ArticleNew Post: Bind CollectionControl isEnabled property and style
Hi, You can set a style on the PropertyGridEditorDoubleUpDown and use a trigger to change the color when IsReadOnly is true.<Window.Resources> <Style x:Key="DoubleUpDownStyle"...
View ArticleNew Post: Conditional Wizard Pages
Hi there, I'm new to wpf and the extended wpf toolkit. I need to write a wizard where the next page depends on some conditions, evaluated in the code backend. Is there an easy way to accomplish this....
View ArticleNew Post: Conditional Wizard Pages
Hi, You can use the WizardPage.CanNextPage property and set it when your conditions are filled :<xctk:WizardPage x:Name="_page" PageType="Interior" Title="Page 2" Description="This is the second...
View ArticleNew Post: Conditional Wizard Pages
Hi, That's not what I was exactly looking for. I need different pages to be displayed depending on some conditions. Thanks for the effort though. Mateusz
View ArticleNew Post: Close All option for AvalonDock
I can't for the life of me find out how to enable this option. The option to right-click a tab and close all the open documents like you would in Visual Studio. At the moment I can only 'Close' and...
View ArticleNew Post: Conditional Wizard Pages
Hi, How about modifying the currentPage when the button Next is pressed :<xctk:Wizard x:Name="_wizard" FinishButtonClosesWindow="True" Help="OnWizardHelp" Next="Wizard_Next"> <xctk:WizardPage...
View ArticleNew Post: Close All option for AvalonDock
Hi, Thanks for pointing this out. Issue https://wpftoolkit.codeplex.com/workitem/21406 has been created.
View ArticleNew Post: Conditional Wizard Pages
Hi, I've actually found a solution. You can setSomeWizardPage.NextPage = ConditionToEvaluate ? OnTrueWizardPageName : OnFalseWizardPageName; in the code backend. Hope this saves somebody else's time....
View ArticleNew Post: PropertyGrid Collection Editor - Class types for new objects
I want to thank you so much for your help. Everything is working fine now. I have just one more question please. In the Collection Control, I need to be notified when a new object is added cause there...
View ArticleNew Post: PropertyGrid Collection Editor - Class types for new objects
Hi melmallakh, Just to make sure, are you using a CollectionControlButton ? Pressing the button starts a CollectionControlDialog and you want to be notified when an item is added, deleted and when the...
View Article