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

Updated Wiki: MaterialTabItem

$
0
0

MaterialTabItem

Only available in the Plus Edition

Derives from TabItem

The MaterialTabItem represents a tab item that is used by the MaterialTabControl and that uses the material colors and animations.

Properties

Property Description
InkEffectBrush Gets or sets the brush to use for the ink effect when pressing a tab item.
InkEffectOpacity Gets or sets the opacity to use for the ink effect brush on when a tab item is selected.
IsInkEffectActive Gets or sets a value indicating whether the ink effect will be shown on a tab item when it is pressed.
MaterialAccentBrush Gets or sets the color that will be used as the control's background when it is selected using the InkEffectBrush.
MaterialForeground Gets or sets the color to use as the control's foreground when it is selected using the InkEffectBrush.
SelectedForeground Gets or sets the foreground to use for the selected tab item.

---

Updated Wiki: MaterialTextField

$
0
0

MaterialTextField

Only available in the Plus Edition

Derives from TextBox

The MaterialTextField represents a text field that contains a customizable watermark that remains active when text is entered and uses the material colors and animations.

material_textfield.png

Properties

Property Description
LineBrush Gets ot sets the brush to use for the line under the text when the control is not focused.
LineFocusBrush Gets ot sets the brush to use for the line under the text when the control is focused.
MaterialAccent Gets or sets a value representing the material color palette that will be applied to the control.
MaterialAccentBrush Gets or sets the color that will be used as the control's watermark-focus and line-focus brushes.
Watermark Gets or sets the control's watermark.
WatermarkFocusBrush Gets or sets the brush to use for the watermark when the control is focused.
WatermarkForeground Gets or sets the watermark foreground when the control is not focused.
WatermarkMode Gets or sets a value indicating how the watermark will behave when the control receives the focus.
WatermarkScaleFactor Gets or sets the scale factor to use for the watermark when the control is focused and watermark is moved up.
WatermarkTemplate Gets or sets the DataTemplate to use for the watermark.

---

Updated Wiki: MaterialToast

$
0
0

MaterialToast

Only available in the Plus Edition

Derives from ContentControl

The MaterialToast represents a ContentControl that can be used to display content in any corner or any window or FrameworkElement. It uses the material colors and animations.

material_toast.png

Properties

Property Description
CloseButtonStyle Gets or sets the style to use for the close button.
CornerRadius Gets or sets the control's corner radius.
DisplayTime Gets or sets the number of milliseconds the control will remain visible.
HideOnClick Gets or sets a value indicating whether the control can be closed with a mouse click.
IsCloseButtonVisible Gets or sets a value indicating whether the close button will be shown in the control.
IsOpen Gets or sets a value indicating whether the controls is shown.
Location Gets or sets the location of the control relative to its owner.
MaterialAccent Gets or sets a value representing the material color palette that will be applied to the control.
MaterialAccentBrush Gets or sets the color that will be used as the control's background.
MaterialForeground Gets or sets the color to use as the control's foreground.
Owner Gets or sets the owner of the control, which is the element from which it will popup.

Methods

Method Description
HideToast Hides the control.
ShowToast Displays the control.

Events

Event Description
HideCompleted Raised when the control has been hidden.
ShowCompleted Raised when the control is shown.

---

Updated Wiki: MaterialToolTip

$
0
0

MaterialToolTip

Only available in the Plus Edition

Derives from ToolTip

The MaterialToolTip represents a ToolTip control that uses the material colors and animations.

material_tooltip.png

Properties

Property Description
MaterialAccent Gets or sets a value representing the material color palette that will be applied to the control.
MaterialAccentBrush Gets or sets the color that will be used as the control's background.
MaterialForeground Gets or sets the color to use as the control's foreground.

---

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: Documentation

$
0
0

Controls

Installation and Usage Instructions

Please note: The Extended WPF Toolkit is dependent on .NET Framework 4.0. You must install .NET Framework 4.0 in order to use any features in the Toolkit.

Instructions for using the Extended WPF Toolkit binaries:

  1. Install .NET Framework 4.0.
  2. Download the ExtendedWPFToolkit_Binaries
  3. Unblock the ZIP file.
    1. Right-click ExtendedWPFToolkit_Binaries.zip -> Properties -> Unblock
  4. Unzip the ExtendedWPFToolkit_Binaries.zip
  5. Reference the binaries in your project:
    1. Reference WPFToolkit.Extended.dll in your project (Xceed.Wpf.DataGrid.dll for the datagrid control)
    2. Add a using statement ("using Xceed.Wpf.Toolkit;" for most of the controls, "using Xceed.Wpf.DataGrid;" for the datagrid control) to the top of .cs files
    3. Add a new xmlns (xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" for most of the controls, xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" for the datagrid control) to the top of XAML files
    4. Remember to use the namespace prefix (in the above example, <xctk: ...> or <xcdg: ...>) in the body of your XAML

Installation using NuGet

  1. Install NuGet (can be downloaded for this link).
  2. Open your Visual Studio.
  3. Open your solution/project.
  4. Open Tools menu, select Library Package Manager and select Package Manager Console
  5. Run the following command Install-Package Extended.Wpf.Toolkit
    1. Add a using statement ("using Xceed.Wpf.Toolkit;" for most of the controls, "using Xceed.Wpf.DataGrid;" for the datagrid control) to the top of .cs files
    2. Add a new xmlns (xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" for most of the controls, xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" for the datagrid control) to the top of XAML files
    3. Remember to use the namespace prefix (in the above example, <xctk: ...> or <xcdg: ...>) in the body of your XAML


Updated Wiki: Home

$
0
0
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 PlusMessageBox Plus
MultiCalendarMultiColumnComboBoxPileFlowPanelPropertyGrid Plus
RadialGaugeRatingSlideShowStyleableWindow
SwitchPanel PlusToggleSwitchTokenizedTextBoxUltimate ListBox
WatermarkPasswordBoxWindowControl Plus Metro theme Office theme
Technical support 1+ release ahead Material Design controls

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

Updated Wiki: Home

$
0
0
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

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.

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.

material_examples.png

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: 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
---

New Post: CollectionControl DisplayMemberPath

$
0
0
Sorry, I was not very clear.

I meant the listbox of items underneath the "Select type" combobox.
I have a "Name" property, and am currently overriding ToString(), but this will not update the text on the left until the window is re-opened.

New Post: CollectionControl DisplayMemberPath

$
0
0
Hi,

I suggest you wait for v3.0, it has a fix for this.
The text shown by the ToString() method (in the left listBox of the CollectionControl) will be updated when a Lost focus occurs in the right PropertyGrid of the CollectionControl.

Updated Wiki: RichTextBoxFormatBar

$
0
0

RichTextBoxFormatBar

Derives from Control

The RichTextBoxFormatBar is a contextual formtting toolbar that mimics the behavior of the Microsoft Office 2010 formatting bar. It can be attached to any Richtextbox control by using the RichTextBoxFormatBarManager. You can even create your own formatting bar and use it instead, but still have all the functionality the RichTextboxFormatBarManager provides.

Behavior

richtextformatbar_detailed_updated.jpg

The RichTextBoxFormatBar is a contextual text formatting toolbar that will apply text transformations to the selected text of a RichTextBox control. When the user is in the process of a selection, the RichTextBoxFormatBar will appear when the mouse is released after the selection. The RichTextBoxFormatBar will also appear during the last click of a "double-click" selection. While the RichTextFormatBar is shown, you may click on any number of text transformations to be applied to the selected text. When done, you may click anywhere else in the RichTextBox control or move your mouse outside of the RichTextBox control to hide the RichTextBoxFormatBar. You can also drag the RichTextBoxFormatBar to a different position if it shows in a position that is not desired by clicking and holding on the drag thumb and moving your mouse to the desired location.

Usage

richtextformatbar_in_richtextbox.jpg

You can add the RichTextBoxFormatBar to either the toolkit's RichTextBox or the default Windows RichTextBox. This is done by using the RichTextBoxFormatBarManager. You simply set the RichTextBoxFormatBarManager.FormatBar property to the desired IRichTextBoxFormatBar instance. The following snippet addsthe RichTextBoxFormatBar to the Entended WPF Toolit's RichTextBox.

<xctk:RichTextBox>
       <xctk:RichTextBoxFormatBarManager.FormatBar>
           <xctk:RichTextBoxFormatBar />
       </xctk:RichTextBoxFormatBarManager.FormatBar>
</xctk:RichTextBox>


The following snippet addsthe RichTextBoxFormatBar to the default Windows RichTextBox.

<RichTextBox>
       <xctk:RichTextBoxFormatBarManager.FormatBar>
           <xctk:RichTextBoxFormatBar />
       </xctk:RichTextBoxFormatBarManager.FormatBar>
</RichTextBox>


Create Your Own Format Bar

You create your own custom format bar by creating a custom/user control that implements the IRichTextBoxFormatBar interface and set the RichTextBoxFormatBarManager.FormatBar property to your new custom format bar instance.

<RichTextBox>
       <xctk:RichTextBoxFormatBarManager.FormatBar>
           <local:MyCustomFormatBar />
       </xctk:RichTextBoxFormatBarManager.FormatBar>
</RichTextBox>


Properties

Property Description
FontSizes Gets an array of font sizes.
Target Gets or sets the target RichTextBox.


Methods

Method Description
PreventDisplayFadeOut Returns true if the RichTextBoxFormatBar is in a non-fading state.
Update Updates the RichTextBoxFormatBar.


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

Updated Wiki: SplitButton

$
0
0

SplitButton

Derives from Xceed.Wpf.Toolkit.DropDownButton

The SplitButton control is a button that can be clicked and also provides a drop down in which you can place any custom content within.

splitbutton.jpg
<xctk:SplitButton Content="Click Me">
            <xctk:SplitButton.DropDownContent>
                <xctk:ColorCanvas />
            </xctk:SplitButton.DropDownContent>
        </xctk:SplitButton>

Properties

Property Description
Command Gets or sets the command to execute when the button is clicked.
CommandParameter Gets or sets the command parameter to pass to the Command when the button is clicked.
CommandTarget Gets or sets the element on which to raise the specified command.
DropDownContent Get or sets the object to use as the drop down button's content. (Inherited from DropDownButton)
IsOpen Gets or sets a value indicating whether the dropdown is open. (Inherited from DropDownButton)

Events

Event Description
Click Raised when the control is clicked (Inherited from DropDownButton)
Opened Raised when the DropDownButton dropdown has opened. (Inherited from DropDownButton)
Closed Raised when the DropDownButton dropdown has closed. (Inherited from DropDownButton)


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

Updated Wiki: SwitchPanel

$
0
0

SwitchPanel

Derives from PanelBase

SwitchPanel allows you to switch between panels with the same children on the fly with animation support. Includes RandomPanel and WrapPanel layouts as examples.

Usage

XAML

<xctk:SwitchPanel x:Name="_switchPanel" Grid.Row="1" ActiveLayoutIndex="{Binding ElementName=layoutCombo, Path=SelectedIndex}" ActiveLayoutChanged="OnSwitchPanelLayoutChanged">
            <xctk:SwitchPanel.Layouts>
               <xctk:WrapPanel x:Name="_wrapPanel" ItemWidth="100" ItemHeight="100"/>
               <xctk:RandomPanel x:Name="_randomPanel" />
            </xctk:SwitchPanel.Layouts>
            <TextBlock x:Name="_item1" Text="Item #1" Style="{StaticResource panelElement}"/>
            <TextBlock x:Name="_item2" Text="Item #2" Style="{StaticResource panelElement}"/>
            <TextBlock x:Name="_item3" Text="Item #3" Style="{StaticResource panelElement}"/>
            <TextBlock x:Name="_item4" Text="Item #4" Style="{StaticResource panelElement}"/>
            <TextBlock x:Name="_item5" Text="Item #5" Style="{StaticResource panelElement}"/>
            <TextBlock x:Name="_item6" Text="Item #6" Style="{StaticResource panelElement}"/>
            <TextBlock x:Name="_item7" Text="Item #7" Style="{StaticResource panelElement}"/>
            <TextBlock x:Name="_item8" Text="Item #8" Style="{StaticResource panelElement}"/>
         </xctk:SwitchPanel>

Properties

Property Description
ActiveLayout Gets the ActiveLayout property. This dependency property indicates which animation panel is currently controlling layout for the SwitchPanel.
ActiveLayoutIndex Gets or sets the ActiveLayoutIndex property. This dependency property indicates the index of the current SwitchablePanel within the Layouts collection.
ActiveSwitchTemplate Gets the ActiveSwitchTemplate property. This dependency property indicates which switch template should be used by SwitchPresenter descendants.
AreLayoutSwitchesAnimated Gets or sets the AreLayoutSwitchesAnimated property. This dependency property indicates whether transitions between panels are animated.
CanHorizontallyScroll Gets or sets a value indicating whether the children can scroll horizontally.
CanVerticallyScroll Gets or sets a value indicating whether the children can scroll vertically.
DefaultAnimationRate Gets or sets the DefaultAnimationRate property. This dependency property indicates the duration or speed at which other animations will occur for panels within the layouts collection that set their respective AnimationRate properties to AnimationRate.Default. This property can be used to set a single animation rate to be used for EnterAnimationRate, ExitAnimationRate, LayoutAnimationRate, SwitchAnimationRate, and TemplateAnimationRate.
DefaultAnimator Gets or sets the DefaultAnimator property. This dependency property indicates the default animator that will be used by panels within the Layouts collection that do not explicitly specify their own DefaultAnimator value.
EnterAnimationRate Gets or sets the EnterAnimationRate property. This dependency property indicates the default animation rate that will be used by panels within the Layouts collection that do not explicitly specify their own EnterAnimationRate value.
EnterAnimator Gets or sets the EnterAnimator property. This dependency property indicates the default animator that will be used by panels within the Layouts collection that do not explicitly specify their own EnterAnimator value.
ExitAnimationRate Gets or sets the ExitAnimationRate property. This dependency property indicates the default animation rate that will be used by panels within the Layouts collection that do not explicitly specify their own ExitAnimationRate value.
ExitAnimator Gets or sets the ExitAnimator property. This dependency property indicates the default animator that will be used by panels within the Layouts collection that do not explicitly specify their own ExitAnimator value.
ExtentHeight Gets the extent height.
ExtentWidth Gets the extent width.
HorizontalOffset Gets the horizontal offsett.
LayoutAnimationRate Gets or sets the LayoutAnimationRate property. This dependency property indicates the default animation rate that will be used by panels within the Layouts collection that do not explicitly specify their own LayoutAnimationRate value.
LayoutAnimator Gets or sets the LayoutAnimator property. This dependency property indicates the default layout animator that will be used by panels within the Layouts collection that do not explicitly specify their own LayoutAnimator value.
Layouts Gets the Layouts property. This dependency property contains a collection of SwitchablePanel objects that represent the different layouts available within the SwitchPanel.
ScrollOwner Gets or sets the scroll owner.
SwitchAnimationRate Gets or sets the SwitchAnimationRate property. This dependency property indicates the default animation rate that will be used by panels within the Layouts collection that do not explicitly specify their own SwitchAnimationRate value.
SwitchAnimator Gets or sets the SwitchAnimator property. This dependency property indicates the default switch animator that will be used by panels within the Layouts collection that do not explicitly specify their own SwitchAnimator value.
SwitchTemplate Gets or sets the SwitchTemplate property. This dependency property indicates the switch template that should be used by any SwitchPresenter descendants.
TemplateAnimationRate Gets or sets the TemplateAnimationRate property. This dependency property indicates the default animation rate that will be used by panels within the Layouts collection that do not explicitly specify their own TemplateAnimationRate value.
TemplateAnimator Gets or sets the TemplateAnimator property. This dependency property indicates the default switch animator that will be used by panels within the Layouts collection that do not explicitly specify their own TemplateAnimator value.
VerticalOffset Gets the vertical offset.
ViewportHeight Gets the viewport's height.
ViewportWidth Gets the viewport's width.


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

Updated Wiki: TimelinePanel

$
0
0

TimelinePanel

Derives from Panel

TimelinePanel is a WPF panel that arranges its children along a timeline. Items are placed along the timeline based on the Date attached property, which is set on each item.

timelinepanel.jpg

<xctk:TimelinePanel BeginDate="01/01/2007" EndDate="12/31/2007">
            <Image Margin="5,5,5,5" Width="100" xctk:TimelinePanel.Date="02/01/2007" 
                Source="C:\Windows\Web\Wallpaper\Landscapes\img8.jpg" />
            <Image Margin="5,5,5,5" Width="100" xctk:TimelinePanel.Date="03/31/2007" 
                Source="C:\Windows\Web\Wallpaper\Landscapes\img8.jpg" />
            <Image Margin="5,5,5,5" Width="100" xctk:TimelinePanel.Date="07/06/2007" 
                Source="C:\Windows\Web\Wallpaper\Landscapes\img8.jpg" />
            <Image Margin="5,5,5,5" Width="100" xctk:TimelinePanel.Date="10/02/2007" 
                Source="C:\Windows\Web\Wallpaper\Landscapes\img8.jpg" />
        </xctk:TimelinePanel>

UnitSize and UnitTimeSpan

These properties are used to determine how much space (UnitSize, in pixels) is used in the representation of an item on the TimelinePanel by each multiple of a given timespan (UnitTimeSpan). For example, on a TimelinePanel in which UnitSize is set to 5.0 (pixels) and UnitTimeSpan is set to 12 hours, an element that lasts 14 days (336 hours) would be 140 pixels wide:
  • 336 / 12 = 28 intervals of 12 hours
  • 28 * 5 = 140
These properties must be used in conjunction and with valid values for them to work properly.

Properties

Property Description
BeginDate Gets or sets the beginning date of the TimeLinePanel, which corresponds to the beginning or leftmost side of the TimelinePanel. The position of all items in the panel will be calculated relative to this date.
CanHorizontallyScroll Gets or sets a value indicating whether scrolling on the horizontal axis is possible.
CanVerticallyScroll Gets or sets a value indicating whether scrolling on the vertical axis is possible.
Date (attached) Gets or sets the Date of a children.
DateEnd This attached property can be set on items within the TimelinePanel to determine size allotted to an item within the panel. DateEnd is an optional property. If omitted, the item will need to have an explicit Width set on it. If set on an item, the width of the item will be determined by difference between the DateEnd and the Date property.
EndDate Gets or sets the end date of the TimeLinePanel, which corresponds to the end or rightmost side of the TimelinePanel. The position of all items in the panel will be calculated relative to this date.
ExtentHeight Gets a value that contains the vertical size of the extent.
ExtentWidth Gets a value that contains the horizontal size of the extent.
HorizontalOffset Gets a value that contains the horizontal offset of the scrolled content.
KeepOriginalOrderForOverlap Gets or sets a value indicating whether the original order of the children should be respected when items with the same begin and end date overlap.
Orientation Gets or sets the orientation of the timeline (Horizontal or Vertical).
OverlapBehavior Gets or sets the behavior of overlapped items (Stack, Stretch, Hide, None).
ScrollOwner Gets or sets a value that identifies the container that controls scrolling behavior in the panel.
UnitSize Gets or sets the unit size (e.g., in pixels) to use in the timeline. Must be used in conjunction with UnitTimeSpan.
UnitTimeSpan Gets or sets the unit timespan to use in the timeline. Must be used in conjunction with UnitSize.
VerticalOffset Gets the vertical offset of the scrolled content.
ViewportHeight Gets the vertical size of the viewport for this content.
ViewportWidth Gets the horizontal size of the viewport for this content.


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

Updated Wiki: TimePicker

$
0
0

TimePicker

Derives from Control

Represents a control that allows users to select a time.

time_picker.jpg

Properties

Property Description
AllowSpin Gets or sets a value indicating whether interacting with the spinner will result in increment/decrement operations.
ClipValueToMinMax Gets or sets if the value should be clipped when minimum/maximum is reached.
EndTime Gets or sets the last time listed in the control's dropdown.
Format Gets or sets the time format displayed.
FormatString Gets or sets the format string used when Format is set to Custom.
IsOpen Gets or sets a value indicating whether the dropdown is open.
Kind Gets or sets a value indicating whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC. NOTE: Setting this property fixes a bug where losing focus on the TimePicker was incrementing time in UTC. It also fixes a bug where specifying a UTC Date was changing the date's Kind property to UnSpecified or Local.
MaxDropDownHeight Gets or sets the maximum drop-down height of the popup of the TimePicker.
Maximum Gets or sets the Maximum allowed value.
Minimum Gets or sets the Minimum allowed value.
ShowButtonSpinner Gets or sets a value indicating whether the button spinner is shown.
StartTime Gets or sets the first time listed in the control's dropdown.
TextAlignment Gets or sets the alignment of the time picker's text.
TimeInterval Gets or sets the time interval between the TimeItem items listed in the dropdown.
UpdateValueOnEnterKey Gets or sets a value indicating whether the synchronization between "Value" and "Text" should be done only on the Enter key press (and lost focus).
Value Gets or sets the DateTime value of the TimePicker.
Watermark Gets or sets the watermark to display in the control.
WatermarkTemplate Gets or sets the watermark template.

Events

Event Description
ValueChanged Raised when the Value changes.


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

Updated Wiki: TimeSpanUpDown

$
0
0

TimeSpanUpDown

Derives from Xceed.Wpf.Toolkit.Core.Primitives.DatetimeUpDownBase

The TimeSpanUpDown controls let you increment or decrement a time over 24 hours. The Format is Days.Hours:Minutes:Seconds.

timespanupdown.jpg

Properties

Property Description
AllowSpin Gets or sets the ability to perform increment/decrement operations via the keyboard, button spinners, or mouse wheel. (Inherited from UpDownBase)
AllowTextInput Determines if the editable part of the control can be edited. The editable part does not include buttons or spinners, it is typically the text part.
ClipValueToMinMax Gets or sets if the value should be clipped when minimum/maximum is reached. (Inherited from UpDownBase)
DisplayDefaultValueOnEmptyText Gets or sets if the DefaultValue should be displayed when the Text is empty. (Inherited from UpDownBase)
DefaultValue Get or sets the value to use when the Value is null and an increment/decrement operation is performed. (Inherited from UpDownBase)
FractionalSecondsDigitsCount Gets or sets the number of digits to use to represent the fractions of seconds in the TimeSpan.
Maximum Gets or sets the maximum allowed value. (Inherited from UpDownBase)
Minimum Gets or sets the minimum allowed value. (Inherited from UpDownBase)
MouseWheelActiveTrigger Gets or sets when the mouse wheel event should affect the value. (Inherited from UpDownBase)
ShowButtonSpinner Gets or sets if the button spinners are visible. (Inherited from UpDownBase)
UpdateValueOnEnterKey Gets or sets a value indicating whether the synchronization between "Value" and "Text" should be done only on the Enter key press (and lost focus). (Inherited from UpDownBase)
Value Gets or sets the numeric value. (Inherited from UpDownBase)
CultureInfo Gets or sets the current CultureInfo. (Inherited from InputBase)
IsReadOnly Gets or sets a value indicating whether the control is read only. (Inherited from InputBase)
Text Gets or sets the formatted string representation of the value. (Inherited from InputBase)
TextAlignment Gets or sets the alignment of the Text. (Inherited from InputBase)
Watermark Gets or sets the object to use as a watermark if the Value is null. (Inherited from InputBase)
WatermarkTemplate Gets or sets the DataTemplate to use for the Watermark. (Inherited from InputBase)

Events

Event Description
ValueChanged Raised when the Value changes. (Inherited from UpDownBase)
InputValidationError Raised when the Text cannot be converted to a valid Value. (Inherited from UpDownBase)


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

Updated Wiki: ValueRangeTextBox

$
0
0

ValueRangeTextBox

Derives from Xceed.Wpf.Toolkit.AutoSelectTextBox

Represents a control that limits the value extracted from the inputted text to be within the bounds determined by the MinValue and MaxValue properties.

Properties

Property Description
BeepOnError Gets or sets a value indicating if a system beep is raised when an inputted character is rejected.
FormatProvider Gets or sets the IFormatProvider that will be used to perform type validation.
HasParsingError Gets a value indicating that an error occurred while parsing the inputted text.
HasValidationError Gets a value indicating whether an error occurred during the validation of the Value.
IsValueOutOfRange Gets a value indicating if the value is out of range.
MaxValue Gets or sets the maximum accepted value.
MinValue Gets or sets the minimum accepted value.
NullValue Gets or sets a value representing the control's null value.
Value Gets or sets the control's value.
ValueDataType Gets or sets the type of the control's Value.

Events

Event Description
QueryTextFromValue Raised when a value is being queried to return its string representation.
QueryValueFromText Raised when inputted text is queried to return its corresponding value.


Support this project, check out the Plus Edition.
---
Viewing all 4964 articles
Browse latest View live


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