New Post: Customise AvalonDock style
Thanks for the help. Using your example I managed to change the colours. However, they don't dynamically change at run time. I have two resource dictionaries: In ExpressionLight.xaml I...
View ArticleNew Post: Customise AvalonDock style
Hi, In XAML, you can remove :<xcad:DockingManager DocumentPaneControlStyle="{StaticResource MyDocumentPaneControlStyle}"> and set it in code-behind :using( System.IO.FileStream fs = new...
View ArticleNew Post: Strange autohide un-hiding behavior on document close
I've been seeing this behavior for a long time now. When using a LayoutRoot.LeftSide with auto-hide children (has AutoHideWidth set) , LayoutDocument close operations act as if the auto-hide child had...
View ArticleNew Post: Add anchorables to different sides using ILayoutUpdateStrategy in MVVM
I want to add anchorables in the different sides of the docking manager, but I have an issue: When I adding anchorables to the side, they are hidden by default and also it is not possible to set width...
View ArticleNew Post: change DateTimeUpDown background OnMouseOver and IsPressed
BoucherS wrote: Hi, Here's a solution on how to modify the RepeatButtons background when they are mousedOver or pressed :<Window x:Class="WpfApplication34.MainWindow"...
View ArticleNew Post: Change Button Background on DateTimePicker and TimePicker
Greetings BoucherS, the code you posted works for the small spinner buttons, can you post the code that targets the bigger drop down buttons that are to the right of the spinner buttons. So the color...
View ArticleNew Post: Using multiple tool windows with MVVM
I'm using Avalon Dock 2.0 sample named "AvalonDock.MVVMTestApp" and trying to extend it to show 3 tool windows to the right side, stacked vertically. Can someone show me a hint on how to proceed?
View ArticleNew Post: Create modal ChildWindow in Code and Display it
Is it possible to create a childWindow and display it in code? My code is not throwing errors but I'm not seeing anything. var msg = new ChildWindow(); msg.Caption = caption; msg.Background =...
View ArticleNew Post: WPF Toolkit LiveExplorer Left Nav control?
Hi, In the Extended WPF Toolkit LiveExplorer, does anybody have any idea what is the beautiful navigation control used as the left nav? Thanks
View ArticleNew Post: New tab group
Is it possible to a dragged layout document create a new tab group instead of a single floating document, just like it happens in Visual Studio?
View ArticleNew Post: PropertyGrid: How do I add property classes to sub property...
Lets say I have an object Farm. Farm has a collection property defined as follows: ObservableCollection<iCrop> Crops; Crops has classes that inherit iFruit or iVegetable etc. IFruit inherits from...
View ArticleNew Post: Create modal ChildWindow in Code and Display it
Did you try adding anything to it? Try insert something like this into your code:Label displayText = new Label(); displayText.Content = caption; StackPanel sp = new StackPanel();...
View ArticleNew Post: DoubleUpDown and Visibility Setter
I'm using DoubleUpDown object in xaml with this code<xctk:DoubleUpDown FormatString="F2" Value="{Binding PosValueConst, UpdateSourceTrigger=PropertyChanged,ValidatesOnDataErrors=True,...
View ArticleNew Post: DoubleUpDown and Visibility Setter
Found the problem was Caliburn.Micro property x:name. Remove that solve the problem
View ArticleNew Post: AvalonDock - floating and docking LayoutDocument
Hi, I'm trying to float a LayoutDocument and I can do it. The problem is that after this I cant dock him again, it's only working by code. I can't drag back to a panel or even right click him (no...
View ArticleNew Post: change DateTimeUpDown background OnMouseOver and IsPressed
Hi, To style the DropDownButton (the one opening the popup), you can re-write the ButtonChrome template :<Style TargetType="{x:Type xctk:ButtonChrome}"> <Setter Property="Background"...
View ArticleNew Post: Change Button Background on DateTimePicker and TimePicker
Hi, answer is in https://wpftoolkit.codeplex.com/discussions/539561
View ArticleNew Post: Create modal ChildWindow in Code and Display it
Hi, Make sure you add the "msg" to the VisualTree. For example, if your XAML looks like this :<StackPanel x:Name="stack"> <xctk:TimePicker Width="150" Height="22" /> <Button...
View ArticleNew Post: WPF Toolkit LiveExplorer Left Nav control?
Hi, It is a re-templated microsoft TreeView.
View ArticleNew Post: PropertyGrid: How do I add property classes to sub property...
Hi, You should add the NewItemTypes attribute over the "Crops" property. Something like [NewItemTypes( typeof( Banana ), typeof( Apple ), typeof( Carrot ) )] public ObservableCollection<iCrop>...
View Article