New Post: Customising the RichTextBoxFormatBar
Thanks. I have created a Custom Control, used the xaml source code in Themes/Generic.xaml and created the necessary .cs files from the source code. IsesFormatBar.cs is the control file which inherits...
View ArticleNew Post: validation with minus sign
Hi, In Code-behind, the exception is raised because you are setting a Double and the MaskedTextBox is expecting a Decimal. Make sure you provide the right type to the MaskedTextBox value....
View ArticleNew Post: validation with minus sign
casting it to a decimal doesn't yield any different result. I was already assigning it using the 'm' suffix to make it a decimal (like: maskedTextBox.Value = -1.2m;) also assigning it a non-negative...
View ArticleNew Post: PropertyGrid: Custom Editor does not update underlying property
I am trying to setup a custom editor with a combobox where in the itemssource is generated dynamically based on the value of another property. I got most of the code from other posts on this site. All...
View ArticleNew Post: validation with minus sign
Hi, You are right. Issue should be fixed in https://wpftoolkit.codeplex.com/workitem/20769
View ArticleNew Post: how to use CheckComboBox with mvvm?
hi I am using the CheckComboBox ver 2.0.0 in my wpf mvvm project but I seem unable to bind the selecteditems. when Bind selecteditems to a property in wpf exception errror SelectedItems="{Binding...
View ArticleNew Post: Customising the RichTextBoxFormatBar
Hi, from what I see, you create a style for objects of type MyNamespace:IsesFormatBar which uses the ControlTemplate "richTextBoxFormatBarTemplate". On the other hand, there is a ControlTemplate (for...
View ArticleNew Post: Limit PropertyGrid Control Standard Properties and Use Toolkit...
Hi, I believe I am attempting to use the propertygrid in a non-standard way, but wanted to reach out to everyone for some advice and guidance. My requirements are as follows: 1) I don't want to show...
View ArticleNew Post: No Dynamic binding available for tab pages of LayoutDocumentPane
I'm trying to take some existing code that is currently using a TabControl class with the ItemsSource property bound to an observable collection of ViewModels (see link below). There doesn't even seem...
View ArticleNew Post: Limit PropertyGrid Control Standard Properties and Use Toolkit...
Hi, First, "EditorDefinition" is obsolete, you should use "EditorTemplateDefinition". You can bind the PropertyGridEditorColorPicker.SelectedColor to the Value of the EditorTemplateDefinition without...
View ArticleNew Post: Controls not all (always) enabled after Busy Indicator
I have the same problem with this control. Some TabItems in my TabPanel remain disabled after setting IsBusy=false. It applies only to the controls that are presently visible.
View ArticleNew Post: Controls not all (always) enabled after Busy Indicator
Hi, In v2.1 of the Toolkit, there is a property named BusyIndicator.FocusAferBusy. Before setting BusyIndicator.IsBusy to true, you could try to set the control you want to have the focus when...
View ArticleNew Post: Controls not all (always) enabled after Busy Indicator
Thanks, I have 2.1 and this is not problem of focus I think, multiple (but not all) controls simply get disabled and not re-enabled. When I use WPF Inspector I can see IsEnabled = false. I will try to...
View ArticleNew Post: Center of ChildWindow With Margins set
'ello The ChildWindow does not seem to respect margins when calculating the centering. I would like to place the control, so that the modal background does not obscure my ribbon, but still be in the...
View ArticleNew Post: SplitButton with dropdown menu
I am writing an application and I want to have a dropdown menu connected to a SplitButton I have the menu added to the DropDownContent of the SplitButton witth appropriate Command Bindings. I do have 2...
View ArticleNew Post: Center of ChildWindow With Margins set
Hi, What I would do is place the windowContainer underneath the ribbon. Something like :<Grid><StackPanel><Ribbon /> <Grid> <Grid> <Data/> </Grid>...
View ArticleNew Post: SplitButton with dropdown menu
Hi, 1) Try adding a click event to your menuItems and tell the splitButton to close : <xctk:SplitButton x:Name="_splitButton" Content="Click Me" <xctk:SplitButton.DropDownContent> <Menu>...
View ArticleNew Post: Center of ChildWindow With Margins set
Thanx, I was hoping not to modify your code... but if there is no other way :) Cheerz Hein
View ArticleNew Post: Sorting Font Family list in the PropertyGrid
I am using the PropertyGrid in my application. I am not getting any way about how to sort the font family alphabetically. Does anyone has any idea about how to do it? Thanks in advance
View ArticleNew Post: Sorting Font Family list in the PropertyGrid
Hi, One way is to use the ItemsSource attribute to create your own content for the ComboBox. When using System.Linq :public class MyUserObject { [ItemsSource( typeof( MyFontItemsSource ) )] public...
View Article