Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all 4964 articles
Browse latest View live

Updated Wiki: WatermarkComboBox

$
0
0

WatermarkComboBox

Derives from System.Windows.Controls.ComboBox

Represents a ComboBox with a customizable watermark.

Properties

Property Description
Watermark Gets or sets a value indicating whether the watermark is displayed when the WatermarkComboBox is not selected nor have the focus.
WatermarkTemplate Gets or sets the DataTemplate to use to display the watermark in the WatermarkComboBox.


Support this project, check out the Plus Edition.
---

Updated Wiki: WatermarkTextBox

$
0
0

WatermarkTextBox

Derives from Xceed.Wpf.Toolkit.AutoSelectTextBox

The WatermarkTextBox is simply a TextBox that allows you to specify an object, usually a String, to represent null or missing text.

Using Text

watermarktextbox.jpg

watermarktextbox_withtext.jpg
<xctk:WatermarkTextBox Watermark="Enter First Name" />

Using an Image with Text

watermarktextbox_image.jpg
watermarktextbox_imagename.jpg
<xctk:WatermarkTextBox>
            <xctk:WatermarkTextBox.Watermark>
                <StackPanel Orientation="Horizontal">
                    <Image Source="Contact16.png" Stretch="None" />
                    <TextBlock Text="Enter First Name" Margin="4,0,0,0" />
                </StackPanel>
            </xctk:WatermarkTextBox.Watermark>
        </xctk:WatermarkTextBox>    

Custom WatermarkTemplate

watermarktextbox_template.jpg
<xctk:WatermarkTextBox Watermark="Enter First Name">
            <xctk:WatermarkTextBox.WatermarkTemplate>
                <DataTemplate>
                    <Border BorderBrush="Green" BorderThickness="1">
                        <ContentControl Content="{Binding}" Foreground="DarkRed" FontWeight="Bold" Focusable="False" />
                    </Border>
                </DataTemplate>
            </xctk:WatermarkTextBox.WatermarkTemplate>
        </xctk:WatermarkTextBox>   

Properties

Property Description
AutoMoveFocus Gets or sets a value indicating if the focus can navigate in the appropriate flow direction (e.g., from one cell to another when a cell is being edited) when the cursor is at the beginning or end of the auto-select text box. (Inherited from AutoSelectTextBox)
AutoSelectBehavior Gets or sets a value indicating how the content of the auto-select text box is selected (Never or OnFocus). By default, Never. (Inherited from AutoSelectTextBox)
KeepWatermarkOnGotFocus Gets or sets if the Watermark will be displayed when the focus is set on the watermarkTextBox, when text is empty. Default is False.
Watermark Gets or sets the object to use in place of null or missing Text.
WatermarkTemplate Gets or sets the DataTemplate to use to display the Watermark.


Support this project, check out the Plus Edition.
---

Updated Wiki: WindowContainer

$
0
0

WindowContainer

Derives from Canvas

Starting with version 2.0, ChildWindow and MessageBox are derived from the WindowControl class and no longer manage their parent’s background or their position based on their parent’s size.

A WindowContainer should now be used to contain these controls. It provides an area where multiple WindowControl-derived controls (ChildWindow or MessageBox controls) can be displayed. This is particularly interesting in an XBAP application where windows can't be popped up. In this case the WindowContainer can be sized to fit the application and the window-like control can be moved around in the WindowContainer.

The WindowContainer derives from Canvas and positions its children according to its size. Many actions performed on its children are managed by the WindowContainer (movement and positioning, resizing, visibility, modal, and mouse click). This will restrict the WindowControl movements and resizing to the WindowContainer’s size.

When no Width and Height are specified in the WindowContainer, its DesiredSize will be the size of its biggest child.

When a child of the WindowContainer is modal (modal ChildWindow or MessageBox) and visible, the background of the WindowContainer can be colored via the ModalBackgroundBrush property.

It can be useful to set the WindowContainer over an application (with the same width and height) and to use a semi-transparent ModalBackgroundBrush property. When a modal window is shown, the application controls will still be visible through the WindowContainer.

In the WindowContainer, the modal windows will always be in front, preventing the use of other windows from the WindowContainer or controls from the application.

<xctk:WindowContainer>
  <xctk:ChildWindow WindowBackground="Blue"
                    Left="75"
                    Top="50"
                    Width="275"
                    Height="125"
                    WindowState="Open">
    <TextBlock Text="This is a Child Window" Padding="10"/>
  </xctk:ChildWindow>

  <xctk:ChildWindow WindowBackground="Green"
                    Left="175"
                    Top="125"
                    Width="275"
                    Height="125"
                    WindowState="Open">
    <TextBlock Text="This is another Child Window" Padding="10"/>
  </xctk:ChildWindow>

  <xctk:MessageBox Caption="MessageBox"
                   Text="This is a MessageBox"/>
</xctk:WindowContainer>

Note: You can find complete documentation of the API here. See the 'Live Explorer' application with source code that demonstrates the features of this class and others here.

Properties

Property Description
ModalBackgroundBrush Gets or sets a Background Color for the WindowContainer when using a modal window.


Support this project, check out the Plus Edition.
---

Updated Wiki: WindowControl

$
0
0

WindowControl

Derives from ContentControl

The control used to build the ChildWindow and MessageBox. It contains the base data for a window.

Properties

Property Description
Caption Gets or sets the Title of the Window.
CaptionForeground Gets or sets the foreground of the title of the window.
CaptionShadowBrush Gets or sets the glow effect brush that highlights the window title.
CaptionIcon Gets or sets the Image to use near the window title.
CloseButtonStyle Gets or sets the style for the Close Button.
CloseButtonVisibility Gets or sets if the Close button is visible in the window.
IsActive Gets or sets if the window has the focus.
Left Gets or sets the position in X of the top left corner of the window in pixel.
Top Gets or sets the position in Y of the top left corner of the window in pixel.
ResizeMode Gets or sets the mode for resizing (NoResize, CanMinimize, CanResize).
WindowBackground Gets or sets the Background for the Window chrome border.
WindowBorderBrush Gets or sets the Border Brush for the window.
WindowBorderThickness Gets or sets the Thickness for the window.
WindowInactiveBackground Gets or sets the Background for the window chrome border when window is inactive.
WindowOpacity Gets or sets the Opacity for the Window chrome border.
WindowStyle Gets or sets the style for the Window (None, SingleBorderWindow, ThreeDBorderWindow or ToolWindow).
WindowThickness Gets or sets the Thickness for the Window chrome Border.

Events

Event Description
HeaderMouseLeftButtonClicked Raised when the header is clicked using the left mouse button.
HeaderMouseLeftButtonDoubleClicked Raised when the header is double-clicked with the left mouse button.
HeaderMouseRightButtonClicked Raised when the header is clicked using the right mouse button.
HeaderDragDelta Raised when the Window is dragged.
HeaderIconClicked Raised when the header icon is clicked.
HeaderIconDoubleClicked Raised when the header icon is double-clicked.
CloseButtonClicked Raised when the Close button is clicked.


Support this project, check out the Plus Edition.
---

Updated Wiki: Wizard

$
0
0

Wizard

Derives from ItemsControl

Represents a wizard control that presents one or more WizardPage to assist the user in performing a task or series of tasks.

wizard.jpg

<xctk:Wizard FinishButtonClosesWindow="True">
            <xctk:WizardPage x:Name="IntroPage" 
                                   Title="Welcome to my Wizard"
                                   Description="This Wizard will walk you though how to do something." />
            <xctk:WizardPage x:Name="Page1" PageType="Interior"
                                   Title="Page 1"
                                   Description="This is the first page in the process."
                                   NextPage="{Binding ElementName=Page2}"
                                   PreviousPage="{Binding ElementName=IntroPage}"/>
            <xctk:WizardPage x:Name="Page2" PageType="Interior"
                                   Title="Page 2"
                                   Description="This is the second page in the process"/>
            <xctk:WizardPage x:Name="LastPage" PageType="Interior"
                                   Title="Last Page"
                                   Description="This is the last page in the process"
                                   CanFinish="True"/>
        </xctk:Wizard>

Properties

Property Description
BackButtonContent Gets or sets the content of the wizard's Back button.
BackButtonVisibility Gets or sets the visibility of the Back button.
CanCancel Gets or sets a value indicating whether the Cancel button is enabled.
CancelButtonClosesWindow Gets or sets a value indicating whether the Cancel button closes the window.
CancelButtonContent Gets or sets the content of the Cancel button.
CancelButtonVisibility Gets or sets the visibility of the Cancel button.
CanFinish Gets or sets a value indicating whether the Finish button is enabled.
CanHelp Gets or sets a value indicating whether the Help button is enabled.
CanSelectNextPage Gets or sets a value indicating whether the Next Page button is enabled.
CanSelectPreviousPage Gets or sets a value indicating whether the Previous Page button is enabled.
CurrentPage Gets or sets the current page in the wizard.
ExteriorPanelMinWidth Gets or sets the minimum width of the exterior panel.
FinishButtonClosesWindow Gets or sets a value indicating whether the Finish button closes the containing window.
FinishButtonContent Gets or sets the content of the Finish button.
FinishButtonVisibility Gets or sets the visibility of the Finish button.
HelpButtonContent Gets or sets the Help button content.
HelpButtonVisibility Gets or sets the visibility of the Help button.
NextButtonContent Gets or sets the Next button content.
NextButtonVisibility Gets or sets the visibility of the Next button.

Events

Event Description
Cancel Raised when the wizard is canceled (the Cancel button is clicked).
Finish Raised when the Finish button is clicked.
Help Raised when the Help button is pressed.
Next Raised when WizardCommands.NextPage command is executed.
PageChanged Raised when the current page changes.
Previous Raised when WizardCommands.PreviousPage command is executed.


Support this project, check out the Plus Edition.
---

Updated Wiki: Zoombox

$
0
0

Zoombox

Derives from ContentControl

The Zoombox control provides zoom and pan functionality for its content. It also provides ViewFinder functionality so that the user can identify where they are viewing within the bigger picture. Finally, it provides a view stack and various navigation methods so that the user can navigate back or forward through previous views or zoom to common views.

Properties

Property Description
AnimationAccelerationRatio Gets or sets the acceleration ratio used for scale and pan animations.
AnimationDecelerationRatio Gets or sets the deceleration ratio used for scale and pan animations.
AnimationDuration Gets or sets the duration used for scale and pan animations.
AreDragModifiersActive Gets whether the keys in the DragModifiers collection are currently pressed.
AreRelativeZoomModifiersActive Gets whether the keys in the RelativeZoomModifiers collection are currently pressed.
AreZoomModifiersActive Gets whether the keys in the ZoomModifiers collection are currently pressed.
AreZoomToSelectionModifiersActive Gets whether the keys in the ZoomToSelectionModifiers collection are currently pressed.
AutoWrapContentWithViewbox Gets or sets whether the content of the Zoombox is wrapped in a Viewbox.
CurrentView Gets the current view for the Zoombox.
CurrentViewIndex Gets the index of the current view (see CurrentView) within the Zoombox control's view stack (see the ViewStack).
DragModifiers Gets or sets keys that must be pressed to pan the content by dragging it.
DragOnPreview Gets or sets whether the Zoombox responds to tunneled mouse events to pan the content via a mouse drag.
EffectiveViewStackMode Gets the mode that is currently in effect for the view stack.
HasBackStack Gets whether there are views on the back side of the view stack (see ViewStack).
HasForwardStack Gets whether there are views on the forward side of the view stack (see ViewStack).
IsAnimated Gets or sets whether transitions between views (scale and pan operations) are animated.
IsDraggingContent Gets whether the content is currently being panned via a drag operation.
IsSelectingRegion Gets whether a zoom region is currently being selected.
IsUsingScrollbars Gets or sets a boolean value that specifies whether the Zoombox's scrollbars are enabled to move the content of the Zoombox when it is zoomed.
KeepContentInBounds Gets or sets if we should keep the content in bounds.
MaxScale Gets or sets the maximum scale factor (or zoom level) that can be applied to the content.
MinScale Gets or sets the minimum scale factor (or zoom level) that can be applied to the content.
NavigateOnPreview Gets or sets whether the Zoombox responds to tunneled mouse events (PreviewMouseDown) to navigate through the view stack.
PanDistance Gets or sets how many pixels the content will pan using the PanLeft, PanUp, PanRight, or PanDown Zoombox commands.
Position Gets or sets the top-left point of the content within the Zoombox control.
RelativeZoomModifiers Gets or sets keys that must be pressed to zoom the content relative to the current mouse position using the mouse wheel.
Scale Gets or sets the scale factor (or zoom level) for the content.
ViewFinder Gets a reference to the view finder element within the visual tree of the Zoombox.
Viewport Gets the portion of the content that is visible in the Zoombox. The viewport is expressed in the coordinate space of the content.
ViewStack Gets the view stack for the Zoombox.
ViewStackCount Gets the number of views in the view stack.
ViewStackIndex Gets or sets the index of the selected view within the view stack.
ViewStackMode Gets or sets the mode for the view stack.
ViewStackSource Gets or sets an IEnumerable value representing a collection used to generate a view stack for the Zoombox.
ZoomModifiers Gets or sets keys that must be pressed to zoom the content relative to its ZoomOrigin using the mouse wheel.
ZoomOn Gets or sets what the zoombox should zoom on.
ZoomOnPreview Gets or sets whether the Zoombox responds to tunneled mouse events (PreviewMouseWheel) to zoom the content via the mouse wheel.
ZoomOrigin Gets or sets the relative position within the content around which Zoom operations occur by default.
ZoomPercentage Gets or sets how much the content will zoom when using the ZoomIn or ZoomOut commands or when zooming via the mouse wheel.
ZoomToSelectionModifiers Gets or sets keys that must be pressed to select and zoom to a location of the content using the mouse.

Events

Event Description
AnimationBeginning Raised when the transition animation is about to begin.
AnimationCompleted Raised when the transition animation completes.
CurrentViewChanged Raised when the CurrentView property changes.
ViewStackIndexChanged Raised when the ViewStackIndex property changes.

Methods

Method Description
CenterContent Centers the content within the Zoombox control without changing its scale.
FillToBounds Scales the content to completely fill the bounds of the Zoombox control.
FitToBounds Scales the content to fit within the bounds of the Zoombox control.
GetViewFinderVisibility Gets the ViewFinderVisibility attached dependency property.
GoBack Navigates to the previous view on the view stack.
GoForward Navigates to the next view on the view stack.
GoHome Navigates to the first view on the view stack.
OnApplyTemplate. Overridden to give us an opportunity to initialize the control.
RefocusView Refocuses the view currently selected within the view stack (the view identified by the ViewStackIndex property).
SetViewFinderVisibility Sets the ViewFinderVisibility attached dependency property.
Zoom Overloaded. Scales the content by a given percentage relative to the point identified by the ZoomOrigin property.
ZoomTo Overloaded. Scales the content to a specific scale value relative to the ZoomOrigin.


Support this project, check out the Plus Edition.
---

Updated Wiki: FilePicker Plus

$
0
0

FilePicker Plus

Only available in the Plus Edition

Derives from System.Windows.Controls.Control

Represents an editor that allows a user to pick a file from the disk.

Properties

Property Description
BrowseButtonStyle Gets or sets the style of the "Browse" button.
BrowseContent Gets or sets the content of the "Browse" button.
Filter Gets or sets the filter to ues when opening the browsing window. For example, "Image Files .jpg;.jpeg"
InitialDirectory Gets or sets the path that will be used as the intial directory when the browsing window is opened.
IsOpen Gets or sets a value indicating whether the browsing window is open.
MultiSelect Gets or sets a value indicating whether mulitple files can be selected in the browsing window.
SelectedFile Gets or sets the name of the selected file.
SelectedFiles Gets or sets a collection of strings representing the names of the selected files.
SelectedValue Gets the string representing the displayed selection(s) in the FilePicker.
Title Gets or sets the title of the browsing window.
UseFullPath Gets or sets a value indicating whether the full path of the selected file(s) should be included when return the name of the selected file(s) through the SelectedFile or SelectedFiles properties.
Watermark Gets or sets the watermark to display when no files are selected.
WatermarkTemplate Gets or sets the DataTemplate to use for the Watermark.

Methods

Method Description
OnSelectedValueChanged Raises the SelectedValueChanged event.

Events

Event Description
SelectedFileChanged Raised when the selected file has been changed.
SelectedFilesChanged Raised when the selected files have been changed.

---

Updated Wiki: Material Design Controls

$
0
0

Material Design Controls

Only available in the Plus Edition

The toolkit's material controls (see list below) were designed to follow the color palettes and animations defined by the Material Design Specifications.

material_examples.png

Each control exposes a MaterialAccent property, which represents the material color palette that will be applied to the control. Each color palette defines complimentary background and foreground colors in addition to any other required brushes, such as the selection and border brushes. Setting the MaterialAccentBrush or MaterialForeground properties will override the values defined by the color palette assigned to the MaterialAccent property.

Included Controls


<StackPanel>
      <!-- Using one of the predefined material palettes -->
      <xctk:MaterialButton Content="DeepPurple material palette"
                           MaterialAccent="DeepPurple"
                           Width="150"
                           Height="25" 
                           Margin="5" />
      <!-- Using a custom brush -->
      <xctk:MaterialButton Content="Custom colors"
                           MaterialAccentBrush="Aqua"
                           MaterialForeground="White"
                           Width="150"
                           Height="25"
                           Margin="5" />
  </StackPanel>

Material Design Color Palette

material_palette.png

---

Updated Wiki: MultiCalendar

$
0
0

MultiCalendar

Only available in the Plus Edition

Derives from Control

The MultiCalendar combines X Microsoft Calendars that can be positioned in a grid with rows and columns. The selected dates, blackout dates and highlighted dates can be chosen from any calendars. The Background/Foreground of any CalendarDayButton can be easily customized based on its state(selected/highlighted/blackout/mouseOver/focused/today) and the background of any Calendar can be customized with an image or a brush.

Properties

Property Description
BlackoutDates Gets or sets the collection of dates that are marked as not selectable through all the calendars.
CalendarButtonBlackoutDataTemplate Gets or sets the dataTemplate to be displayed over each blackout dates.
CalendarButtonCurrentDateBorderBrush Gets or sets the border brush of the current date in the MultiCalendar control.
CalendarButtonHighlightedBackground Gets or sets the background brush of each highlighted dates in the MultiCalendar control.
CalendarButtonHighlightedForeground Gets or sets the foreground of each highlighted dates in the MultiCalendar control.
CalendarButtonMouseOverBackground Gets or sets the background brush of the date under the mouse in the MultiCalendar control.
CalendarButtonMouseOverForeground Gets or sets the foreground of the date under the mouse in the MultiCalendar control.
CalendarButtonSelectedBackground Gets or sets the background brush of each selected dates in the MultiCalendar control.
CalendarButtonSelectedForeground Gets or sets the foreground of each selected dates in the MultiCalendar control.
CalendarButtonTodayBackground Gets or sets the background brush of the today date in the MultiCalendar control.
CalendarButtonTodayForeground Gets or sets the foreground of the today date in the MultiCalendar control.
CalendarDayTitleDataTemplate Gets or sets the DataTemplate to use for the days of the week displayed in each calendar of the MultiCalendar control.
CalendarHeaderButtonStyle Gets or sets the style for the header of each calendar in the MultiCalendar control.
CalendarsBackground Gets or sets the background brush of each calendar in the MultiCalendar control. This background will be used when a calendar has no monthlyBackground associated.
CalendarsBorderBrush Gets or sets the border brush of each calendar in the MultiCalendar control.
CalendarsBorderThickness Gets or sets the border thickness of each calendar in the MultiCalendar control.
CalendarsCollection Gets the list of Calendars used in the MultiCalendar control.
CalendarStyle Gets or sets the style of the Calendars in the MultiCalendar control.
ColumnCount Gets or sets the number of columns to use to display the calendars of the MultiCalendar control. The value is adjusted automatically when the property MonthCount changes. However, as soon as a custom value is assigned, this custom value will remain and no longer be adjusted automatically. If the combination of the properties ColumnCount and RowCount is not big enough for the property MonthCount, the MonthCount will be modified to fit based on the ColumnCount/RowCount provided.
DisplayDateEnd Gets or sets the last day available in the MultiCalendar control. If the combination of the properties DisplayDateStart and DisplayDateEnd is not big enough for the property MonthCount, the MonthCount will be modified to fit based on the DisplayDateStart/DisplayDateEnd provided.
DisplayDateStart Gets or sets the first day available in the MultiCalendar control. If the combination of the properties DisplayDateStart and DisplayDateEnd is not big enough for the property MonthCount, the MonthCount will be modified to fit based on the DisplayDateStart/DisplayDateEnd provided.
FirstDisplayedDate Gets the first date that is currently displayed in the MultiCalendar control.
HideInactiveDates Gets or sets if the inactive dates will be displayed at beginning and end of each calendar in the MultiCalendar control. Default is true.
HighlightedDates Gets or sets the collection of dates that are marked as highlighted through all the calendars.
MonthCount Gets or sets the number of calendars to display in the MultiCalendar control. Default is 2. If values are not provided for propreties ColumnCount and RowCount, they will be filled with values based on MonthCount. If values are provided for properties ColumnCount and RowCount, and the MonthCount doesn't fit in the ColumnCount/RowCount because too big, the MonthCount will be modified to fit based on the ColumnCount/RowCount provided.
MonthlyBackgrounds Gets or sets the collection of monthly background data used to display the background of specific calendars in the MultiCalendar control.
NextButtonStyle Gets or sets the style to use for the button changing to next month in the MultiCalendar control.
Orientation Gets or sets the orientation of the calendars (Rows/Columns) in the MultiCalendar control. Default is Horizontal.
PreviousButtonStyle Gets or sets the style to use for the button changing to previous month in the MultiCalendar control.
RowCount Gets or sets the number of rows to use to display the calendars of the MultiCalendar control. The value is adjusted automatically when the property MonthCount changes. However, as soon as a custom value is assigned, this custom value will remain and no longer be adjusted automatically. If the combination of the properties ColumnCount and RowCount is not big enough for the property MonthCount, the MonthCount will be modified to fit based on the ColumnCount/RowCount provided.
SelectedDate Gets or sets the selected date in the MultiCalendar control.
SelectedDates Gets or sets the collection of dates that are marked as selected through all the calendars.
SelectionMode Gets or sets the selection mode in the MultiCalendar control. Default is SingleRange.

Events

Event Description
BlackoutDatesChanged Raised when the collection of blackout dates has a collectionChanged.
HighlightedDatesChanged Raised when the collection of highlighted dates has a collectionChanged.
SelectedDateChanged Raised when the selected date is changed.
SelectedDatesChanged Raised when the collection of selected dates has a collectionChanged.

---

Updated Wiki: WatermarkPasswordBox

$
0
0

WatermarkPasswordBox

Only available in the Plus Edition

Derives from WatermarkTextBox

The WatermarkPasswordBox is a PasswordBox where you can enter a secure password and display a watermark when the password is not defined.

Properties

Property Description
AutoMoveFocus Gets or sets a value indicating if the focus can navigate in the appropriate flow direction (e.g., from one cell to another when a cell is being edited) when the cursor is at the beginning or end of the auto-select text box. (Inherited from Xceed.Wpf.Toolkit.AutoSelectTextBox)
AutoSelectBehavior Gets or sets a value indicating how the content of the auto-select text box is selected. (Inherited from Xceed.Wpf.Toolkit.AutoSelectTextBox)
KeepWatermarkOnGotFocus Gets or sets a value indicating if the watermark will be displayed when the focus is set on the WatermarkTextBox when the text is empty. (Inherited from Xceed.Wpf.Toolkit.WatermarkTextBox)
Password Gets or sets the password currently held by the WatermarkPasswordBox. Default value is System.String.Empty.
PasswordChar Gets or sets the masking character for the WatermarkPasswordBox when the user enters text. Default value is a bullet character.
SecurePassword Gets the password currently held by the WatermarkPasswordBox as a System.Security.SecureString.
Watermark Gets or sets the object to use in place of null or missing Text. (Inherited from Xceed.Wpf.Toolkit.WatermarkTextBox)
WatermarkTemplate Gets or sets the DataTemplate to use to display the watermark. (Inherited from Xceed.Wpf.Toolkit.WatermarkTextBox)

Events

Event Description
PasswordChanged Raised when the value of the WatermarkPasswordBox.Password property changes.

---

Updated Wiki: Charts

$
0
0

Charts

Only available in the Plus Edition

Derives from Control

The Chart control is designed to display rich, flexible, configurable and extendable charts. The Wpf Chart is 100% look-less control, and is able to display multiple areas with multiple charts at the same time. Use the Areas property to add Area objects. The Chart supports a built-in legend. However, you can use the Legend property if a custom legend needs to be displayed.

chart.jpg

Properties

Property Description
Areas Gets list of Area
Legend Gets or sets Chart Legend.
ShowLegend Gets or sets if chart legend is visible.

Events

Event Description
SeriesChanged Raised when Series list in any Area is changed.

---

Updated Wiki: NumericUpDown-derived controls

Updated Wiki: Panels

$
0
0

Panel Controls

Xceed Extended WPF Toolkit provides a panel animation framework that lets you switch between panels with the same children on the fly. The control responsible for the switching is called SwitchPanel.

The Plus Edition includes 12 additional layouts:

Support this project, check out the Plus Edition.
---

Commented Issue: CheckListBox SelectedItems not behaving correctly when having a pool of items [18709]

$
0
0
Please see the example, I think everything should be clear then: Select a bookshelf and add a book. EDIT: I found a workaround, see my second ZIP, maybe it helps finding the issue.
Comments: ** Comment from web user: mbulava **

I Still am seeing this issue.. I'm using a Flag Enum and converter but ConvertBack is never being called:


<xctk:CheckComboBox x:Name="_read"
ItemsSource="{Binding Path=Environments, Converter={StaticResource EnvironmentListConverter}}"
HorizontalAlignment="Center"
VerticalAlignment="Center"
SelectedItemsOverride="{Binding Path=Read, Converter={StaticResource EnvironmentListConverter}
, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged,NotifyOnTargetUpdated=True, NotifyOnSourceUpdated=True}"
ItemSelectionChanged="_combo_ItemSelectionChanged"
/>


Both the ItemsSource And SelectedItemsOverride are being set to Observable Collection but I can't get the changes to the combo to update the underlying property

Commented Issue: CheckListBox SelectedItems not behaving correctly when having a pool of items [18709]

$
0
0
Please see the example, I think everything should be clear then: Select a bookshelf and add a book. EDIT: I found a workaround, see my second ZIP, maybe it helps finding the issue.
Comments: ** Comment from web user: BoucherS **

Hi,
Can you send a complete sample ? I think the Converters are the differences here.

Thanks.


Commented Issue: AvalonDock Invalid Window Handle Exception on switching Windows Theme [21780]

$
0
0
I'm using the AvalonDock for a project. When working with my application on remote desktop I have encountered an error. When I'm connectin to station remotely it seems that windows theme on remote desktop is changing and the AvalonDoc application on remote station is failing with the invalid handle exception.
It is possible to reproduce the fail without remoted desktop. Switching back to windows classic theme on Windows 7 caused an unhandled "Invalid window handle exception". To reproduce it you have to drag out one of the LayoutAnchorable item (for example the Toolbox) to float, then start switching back and forth between the classic Windows theme and an aero theme (sometimes it happens for the first theme change).

Program Location:
at MS.Win32.HwndWrapper.DestroyWindow(Object args)
at MS.Win32.HwndWrapper.Dispose(Boolean disposing, Boolean isHwndBeingDestroyed)
at MS.Win32.HwndWrapper.Dispose()
at System.Windows.Interop.HwndSource.Dispose(Boolean disposing)
at System.Windows.Interop.HwndSource.Dispose()
at Xceed.Wpf.AvalonDock.Controls.LayoutFloatingWindowControl.OnUnloaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastUnloadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
Comments: ** Comment from web user: jameslewisbush **

Hi, I am still seeing this issue using Toolkit v.2.8. Can you confirm it has been resolved?

Thanks,
James

Commented Issue: AvalonDock Invalid Window Handle Exception on switching Windows Theme [21780]

$
0
0
I'm using the AvalonDock for a project. When working with my application on remote desktop I have encountered an error. When I'm connectin to station remotely it seems that windows theme on remote desktop is changing and the AvalonDoc application on remote station is failing with the invalid handle exception.
It is possible to reproduce the fail without remoted desktop. Switching back to windows classic theme on Windows 7 caused an unhandled "Invalid window handle exception". To reproduce it you have to drag out one of the LayoutAnchorable item (for example the Toolbox) to float, then start switching back and forth between the classic Windows theme and an aero theme (sometimes it happens for the first theme change).

Program Location:
at MS.Win32.HwndWrapper.DestroyWindow(Object args)
at MS.Win32.HwndWrapper.Dispose(Boolean disposing, Boolean isHwndBeingDestroyed)
at MS.Win32.HwndWrapper.Dispose()
at System.Windows.Interop.HwndSource.Dispose(Boolean disposing)
at System.Windows.Interop.HwndSource.Dispose()
at Xceed.Wpf.AvalonDock.Controls.LayoutFloatingWindowControl.OnUnloaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastUnloadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at System.Windows.Application.Run()
Comments: ** Comment from web user: AndreyLezhnev **

Hi James,
Actually I'm out of the project where we used the Avalon, but I'll try to ask guys to check this out.
Regards,
Andrey

Updated Wiki: Home

$
0
0
June 9 to June 24, 2016: $100 off Toolkit Plus with coupon 'jetfuel'
May 6, 2016: Hot on the heels of last month's v2.7.0 release, Community Edition v2.8.0 has been released with 23 bug fixes and improvements. Users of the Plus Edition received v3.0.0 on April 6, 2016 with 2 new controls and 41 bug fixes and improvements.

Extended WPF Toolkit Plus

Extended WPF Toolkit™ is the number one collection of WPF controls, components and utilities for creating next generation Windows applications. Use it to build professional looking, modern, and easy to use line of business applications. The Extended WPF Toolkit project has been downloaded more than 500,000 times here and on NuGet.

The free, open source Community Edition is provided under the Microsoft Public License. The Plus Edition adds additional controls and features, and is at least one release version ahead. Get it with a subscription to also get updates and email support for 1 year. The Business Suite for WPF adds the full-featured version of the industry's best datagrid.

Controls included in the Community Edition:

AvalonDockAutoSelectTextBoxBusyIndicatorButtonSpinner
ByteUpDownCalculatorCalculatorUpDownCheckComboBox
CheckListBoxChildWindowCollectionControlCollectionControlDialog
ColorCanvasColorPickerDataGridDateTimePicker
DateTimeUpDownDecimalUpDownDoubleUpDownDropDownButton
IntegerUpDownLongUpDownMagnifierMaskedTextBox
MessageBoxMultiLineTextEditorPieChartPrimitiveTypeCollEditor
PropertyGridRangeSliderRichTextBoxRichTextBoxFormatBar
ShortUpDownSingleUpDownSplitButtonSwitchPanel
TimelinePanelTimePickerTimeSpanUpDownValueRangeTextBox
WatermarkTextBoxWatermarkComboBoxWindowContainerWindowControl
WizardZoombox Windows 8 Theme

Additional controls and features in the Plus Edition:

ChartsChildWindow PlusFilePicker PlusMaterial Design controls
MessageBox PlusMultiCalendarMultiColumnComboBoxPileFlowPanel
PropertyGrid PlusRadialGaugeRatingSlideShow
StyleableWindowSwitchPanel PlusToggleSwitchTokenizedTextBox
Ultimate ListBoxWatermarkPasswordBoxWindowControl Plus
Metro theme Office theme Technical support 1+ release ahead

Additional controls and features in the Business Suite for WPF:

Advanced DataGrid 3D Views for WPF More themes

Latest News

 
Bitcoin You can purchase the Plus Edition with bitcoins. Just visit this page, select the license type and quantity, then later select Bitcoin in the payment options.

 
Xceed Toolkit Plus for WPF

Action items

  • Enjoy WPF!
  • Please rate this release and write something positive. It's at the bottom of the downloads page
  • Follow this project (click "follow" at the top right of this page)
  • Follow @datagrid on Twitter for WPF and Toolkit news
  • Like Xceed's WPF page on Facebook
  • Check out a video or two on XceedVideos YouTube Channel
  • Add bugs or feature requests to the Issue Tracker

community-full.png

Commented Unassigned: avalondock invalid window handle [22233]

$
0
0
Hi, my tester is getting such an exception after having the app longer time in background:

System.ComponentModel.Win32Exception

Message:
Neplatný popisovač okna ------> it means "invalid window handle"

Stack Trace:
at MS.Win32.UnsafeNativeMethods.GetParent(HandleRef hWnd)
at System.Windows.Interop.HwndHost.CalculateAssignedRC(PresentationSource source)
at System.Windows.Interop.HwndHost.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at Xceed.Wpf.AvalonDock.Controls.LayoutAutoHideWindowControl.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndHost.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

NativeErrorCode:
1400

ErrorCode:
-2147467259

TargetSite:
IntPtr GetParent(System.Runtime.InteropServices.HandleRef)

Source:
WindowsBase

HResult:
-2147467259

it is perhaps corrected in the 2.9.0 plus edition. is there some solution for the community edition?

Thanks, Ludek.
Comments: ** Comment from web user: lalle1 **

We get the same problem with version 2.8 on windows 2012

Created Feature: PropertyGrid new property button if null [22289]

$
0
0
Based on discussion https://wpftoolkit.codeplex.com/discussions/654820.

User says :
"It would be great to have a way of initialising a new class if the property is null.
Maybe a "New" button where the (empty) property value is?"
Viewing all 4964 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>