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

New Post: Details for 3.5-Code


New Post: Details for 3.5-Code

$
0
0
Hi,

now I got it! Got a little bit confused with "WPF Toolkit" and "Extended WPF Toolkit" and community and plus and...

Thank you for your help!
Joerg

New Post: Changes to Wizard theme ignored

$
0
0
Hi,

I'm sure I'm missing something obvious. I'm trying to add margins to the back and next buttons in the Wizard. No matter what I change, it seems like the changes are ignored. Not just margins, but even hardcoding the "Content", or even commenting out the whole StackPanel. I tried this on both Theme files, just in case I was dealing with the wrong one.

Any suggestions?

Thanks,
Michel

New Post: Changes to Wizard theme ignored

$
0
0
Found it... A separate project in the solution was referencing an older version, and somehow that one was being used instead of the modified one.

New Post: How can I select a specific property in the property grid in code

$
0
0
Hi! I'm attempting to pre-select/pre-hightlight a given property item when the user first enters my dialog. In searching around, it appeared that this DefaultPropertyAttribute would be the way to do that? But, I'm not seeing any examples of how it's used. I would have thought I would have simply been able to add it to my other properties like "DisplayName", "Category", etc, but it's not allowing me to do that. It appears to be valid on class declarations? I tried adding it above my data class and I still am not seeing anything pre-highlighted. Would you be able to point me to an example of how this feature is used? Thanks in advance, -Glenn

New Post: How can I select a specific property in the property grid in code

$
0
0
Hi,

You are right, simply adding the DefaultPropertyAttribute on the class being used as the PropertyGrid.SelectedObject will do the job.
 [DefaultProperty("ID")]
  public class Person
  {
    public string FirstName
    {
      get;
      set;
    }
    public string LastName
    {
      get;
      set;
    }
    public int ID
    {
      get;
      set;
    }
  }

---------------------------
 _propertyGrid.SelectedObject = new Person()
      {
        FirstName = "Bob",
        LastName = "Jones",
        ID = 34
      };
When opening the propertyGrid, you should see the ID property being highlighted.

Edited Issue: PropertyGrid ReadOnlyAttribute & Foreground [19708]

$
0
0
from [this discussion](https://wpftoolkit.codeplex.com/discussions/443557)
-=-=-=-=-=-=-=-=-=-

How I can mark readonly property in PropertyGrid by gray color (as PropertyGrid in VS)?
Comments: ** Comment from web user: BoucherS **

Hi,

This bug will be fixed in v2.2.

When a property is made ReadOnly, a PropertyGridEditorTextBlock will be used. Since textBlocks can never be edited, the PropertyGridEditorTextBlock will always have its foreground Gray.

In addition, when the propertyGrid.IsEnabled property is false, all the property names and their editors will be grayed out.

Commented Feature: Create a TokenizedTextBox [18746]

$
0
0
This control was introduced in the toolkit as version 1.6, but was removed from the toolkit since 1.7
I would like the TokenizedTextBox to be re-introduce in the toolkit.
Vote for this feature if you want that control in the Toolkit.
Comments: ** Comment from web user: taljerome **

This one totally has my vote..


New Post: How can I select a specific property in the property grid in code

$
0
0
Of course. Worked like a charm! Thank you!

Edited Feature: Create DateTimePicker.TimePickerVisibility [19173]

$
0
0
Based on discussion http://wpftoolkit.codeplex.com/discussions/428268

The user expressed his need to hide the TimePicker in the DateTimePicker.
Comments: ** Comment from web user: BoucherS **

This property will be added in v2.2 of the Toolkit.

Edited Issue: PropertyGrid should not bind directly to SelectedObject.Name [19305]

$
0
0
Binding directly to __SelectedObject.Name__ like done in __PropertyGrid/Themes/Generic.xaml__ causes WPF 4 to emit binding errors (visible in Visual Studio Output window) when the type bound to __PropertyGrid.SelectedObject__ does not contain a __Name__ property:
```
(Setter Property="SelectedObjectName"
Value="{Binding RelativeSource={RelativeSource Self},
Path=SelectedObject.Name,
FallbackValue={StaticResource EmptyString}}" /)
```
Solution for this issue is to use __PriorityBinding__ instead of a __FallbackValue__ :
```
(Setter Property="SelectedObjectName")
(Setter.Value)
(PriorityBinding)
(Binding Path="SelectedObject.Name"
RelativeSource="{RelativeSource Self}" /)
(Binding Source="{x:Static sys:String.Empty}" /)
(/PriorityBinding)
(/Setter.Value)
(/Setter)
```
Sorry, due to the limitations of this editor I cannot use angle brackets here - using parentheses instead.
Comments: ** Comment from web user: BoucherS **

Hi,

this is fixed in v2.1.

New Post: ResizingPanel Not Found

$
0
0
I downloaded the latest WPF Toolkit, unblocked the DLLs and added them to a new WPF .NET 4.0 project. Here is my Main Window XAML:
<Window x:Class="Avalon.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
    xmlns:xcad="http://schemas.xceed.com/wpf/xaml/avalondock"
The following line works fine:
<xcad:DockingManager x:Name="_DockManager">

But this line will give ma an error:
<xcad:ResizingPanel>

It also fails if I try to create the ResizingPanel, or any panel, in code.

If I look at the AvalonDock in Object Browser, as well as the rest of Extended WPF toolkit, there is no Resizing Panel.

What is the trick to get this working?

New Post: Usage of the Wizard-Control

$
0
0
Hello,

I want to try to use the wizard-Control. But I´m not able to understand the process.

Following questions make me crazy:

1) How can I change in VS2010 Xaml-Designer the Current Page if i want to design my content. In the preview only show the First Intro page "Welcome"

2) How can I put controls on the WizardPages? I will "ask" with some radiobuttons, textboxes and checkboxes. Is that possible? How can a find a example with usage of this controls (i only find here the "default"-usage example

Please help me. This project is very important for me and I have not much time anymore to close them :-(
Michael

New Post: ResizingPanel Not Found

$
0
0
Hi, There is no resizingPanel in AvalonDock. What makes you think there is one ?
The DockingPanel is the panel to use with AvalonDock.

New Post: Usage of the Wizard-Control

$
0
0
Hi,

1) I'm not an expert with xaml-Designer. As you say, only the first page is displayed in the preview. I believe you can create each page individually in a new instance of VS2010 and copy the xaml code in your current VS2010 instance project. This way, each WizardPage could be created with the xaml-designer.

2) Of course you can add any controls in the WizardPage. WizardPages are ContentControls.
<xctk:WizardPage>
         <StackPanel>
            <Button Content="MyButton" />
            <RadioButton Content="RadioButton"
                         Height="26"
                         HorizontalAlignment="Left"
                         Margin="174,48,0,0"
                         Name="radioButton1"
                         VerticalAlignment="Top"
                         Width="133" />
            <Label Content="Label"
                   Height="28"
                   HorizontalAlignment="Left"
                   Margin="106,52,0,0"
                   Name="label1"
                   VerticalAlignment="Top"
                   Width="62" />
         </StackPanel>
      </xctk:WizardPage>
3) Right now, in the template of the Wizard, there are command bindings for the buttons (Cancel, Finish, Help, NextPage,, PreviousPage). When the Cancel command is executed, the event 'Cancel" is raised (the Cancel button is clicked) and when the Finish command is executed, the event 'Finish' is raised (the Finish button is clicked). So you can listen to the Wizard.CancelEvent and Wizard.Finish event to do your action.

Edited Issue: DecimalUpDown ignores MouseWheelActiveOnFocus [20013]

$
0
0
Based on discussion http://wpftoolkit.codeplex.com/discussions/447813#post1069463

DecimalUpDown seems to be ignoring MouseWheelActiveOnFocus property. The mousewheel is only active when the mouse pointer is on the control irrespective of this setting.

"MouseWheelActiveOnFocus" property is now obsolete, but the same problem occurs with "MouseWheelActiveTrigger" property :
When focus is on the DecimalUpDown (with MouseWheelActiveTrigger = Focused), and mouse pointer is outside the DecimalUpDown, using the mouseWheel does nothing. If the mouse pointer is over the DecimalUpDown, using the mouseWheel increments/decrements.

It looks like ButtonSpinner.OnMouseWheel() is only called when mouse is over the Control.
Comments: ** Comment from web user: BoucherS **

Fixed in v2.2

Commented Issue: Do not update Property on "Enter" [19077]

$
0
0
Need expressed from patch 13448 ( http://wpftoolkit.codeplex.com/SourceControl/list/patches )

The actual behavior of the PropertyGrid is to update the source item when "enter" is pressed. The user express his need to not do such an update since the "Enter" action may not have this signification in some cases. (maybe somthing like a multi-line text editor)

His approach was to create a property on PropertyGrid to toggle this feature on or off.
Comments: ** Comment from web user: BoucherS **

Fixed in v2.2.

Edited Issue: ColorPicker: The MenuItem behind the clicked color is also clicked [19327]

$
0
0
When selecting a color from the `ColorPicker` popup that placed inside a Menuitem, if there is a MenuItem behind the clicked color, it will also be clicked. In my case, the menu item that was unintentionally activated was "Undo", which undid the color selection. Therefore certain colors could never be selected.

The problem is that after the popup has been closed due to a `MouseDown`, the `MenuItem` will then get the `MouseUp`, unless the user keeps holding the mouse button down, moves it away, and then releases - unlikely. The popup should only close after a `MouseUp`.
Comments: ** Comment from web user: BoucherS **

This will be fixed in v2.2

Edited Issue: CheckComboBox: Display bug [19361]

$
0
0
Hi,

using the checkcombobox, there is a display bug when the classic windows theme is used. Even if checked, the selected item(s) will be displayed as being unchecked.

See screenshot included as attachment:

Hope this annoying bug will be fixed. Otherwise thank you for this control.
Comments: ** Comment from web user: BoucherS **

Hi,

I can't reproduce the issue. The checkBoxes are matching the selectedItems. I made a sample based on the bindings provided in the image file. The sample is in attachment.

Thanks.

Edited Feature: Support GUID editor in PropertyGrid [18913]

$
0
0
Based on Issue:
http://wpftoolkit.codeplex.com/workitem/18854
Comments: ** Comment from web user: BoucherS **

Support of Guid Editor in PropertyGrid will be available in v2.2.

Viewing all 4964 articles
Browse latest View live