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

Commented Issue: Could not load file or assembly Xceed.Wpf.Toolkit.Aero2 [19506]

$
0
0
From [this discussion](http://wpftoolkit.codeplex.com/discussions/437608)
-----------
Hi,

I added the DoubleUpDown control to a DataGrid and when the first row is initialized I get following IO Exception:

> Could not load file or assembly 'Xceed.Wpf.Toolkit.Aero2, Version=1.9.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4' or one of its dependencies. The system cannot find the file specified.

When I continue, the application runs anyway and the control is shown and works. Do you have any idea what causes this exception and how I can get rid of it? If you need specific code I can provide it.

I use Caliburn.Micro as the underlying framework. The dll mentioned in the exception is nowhere to be found and it's not available in the zip that is provided on this webpage. I installed Extended WPF Toolkit via NuGet.

Cheers,
Daniel Fox
Comments: ** Comment from web user: emartin **

This can be consided as a duplicate of [Issue 19517](https://wpftoolkit.codeplex.com/workitem/19517)


Commented Issue: Missing Assembly: Xceed.Wpf.Toolkit.Luna [19517]

$
0
0
I added Xceed Extended WPF Toolkit via Nuget and I get a "A first chance exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll" which when I looked into it, found that it was looking for Xceed.Wpf.Toolkit.Luna.

Everything seems to work without this assembly.
Comments: ** Comment from web user: emartin **

In v2.0, I've made some changes to the code that will hopefully fix that issue.
I could not reproduce the issue, so this is a pure guess.

You are encouraged to describe your environment and the step to __re__-produce the issue. Unfortunately, many people that once felt on this issue fix the problem by clearing and recompiling.

Edited Feature: Need the ability customize the list of properties displayed in the PropertyGrid [18518]

$
0
0
Based on (PropertyGrid) Dynamic Visibility of Properties: http://wpftoolkit.codeplex.com/discussions/366328 which is Wiki Link: [discussion:366328].
 
There are times when the list of properties displayed in the ProperyGrid needs to be determined at runtime. If the code that called the GetObjectProperties method raised an event first (e.g. CreatingPropertiesList), a developer could react to the event by supplying their own e.PropertiesList and marking it handled. This would allow flexibility without requiring customizing the PropertyGrid code.
Comments: ** Comment from web user: emartin **

Feature provided by the PropertiesSource property in v2.0 (Plus edition only)

New Comment on "CheckComboBox"

$
0
0
When I select an item in combobox... its text changes to checkedCombobox.selecteditem.value:ITEM1 Ho can that be fixed?

New Post: Cannot bind ColorPicker SelectedColor to the ViewModel

$
0
0
I am trying to do a simple binding on the SelectedColor property of a ColorPicker. I created a simple app to demo my issue.

The XAML:
<Window x:Class="XceedColorPickerTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:XceedColorPickerTest"
        xmlns:xctk="clr-namespace:Xceed.Wpf.Toolkit;assembly=Xceed.Wpf.Toolkit"
        Title="MainWindow" Height="350" Width="525">
    <Window.DataContext>
        <local:MainWindowViewModel />
    </Window.DataContext>

    <StackPanel>

        <xctk:ColorPicker SelectedColor="LightBlue" 
                          ShowDropDownButton="True" 
                          DisplayColorAndName="True" />

        <TextBlock Text="{Binding TestBrush}"/>
        <xctk:ColorPicker SelectedColor="{Binding TestBrush}" 
                          ShowDropDownButton="True" 
                          DisplayColorAndName="True" />

        <TextBlock Text="{Binding TestBrush2}"/>
        <xctk:ColorPicker SelectedColor="{Binding TestBrush2}" 
                          ShowDropDownButton="True" 
                          DisplayColorAndName="True" />

    </StackPanel>
</Window>

The VM:
using System;

namespace XceedColorPickerTest
{
    public class MainWindowViewModel
    {
        public MainWindowViewModel()
        {
            TestBrush = System.Windows.Media.Brushes.Red;
            TestBrush2 = System.Windows.Media.Brushes.Green;
        }

        public System.Windows.Media.Brush TestBrush { get; set; }
        public System.Windows.Media.SolidColorBrush TestBrush2 { get; set; }

    }
}
First ColorPicker works as expected. But neither binding in the following two to either TestBrush and TestBrush2 work. They DO work with the TextBlocks which cast the brushes to "#FFFF0000" and "#FF008000", respectively (its not a notification thing as far as I can tell).

Thanks
Ernie

New Post: How to change error message of IntergerUpDown

$
0
0
Hi,

All is in the title. For exemple if the user enter a value higher than the maximum, the message is
"Value must be less than MaxValue of 12. Nom du paramètre : Maximum". Impossible to change that without rewrite CommonNumericUpDown.

Thanks.

New Post: ChildWindow as root element

$
0
0
This may be an old question, but if it helps anyone else you need to add the window to the UI tree before showing it.
Something like this:
            MyDialog dialog = new MyDialog();
            LayoutRoot.Children.Add(dialog);
            dialog.Closed += (s, ea) =>
                {
                    LayoutRoot.Children.Remove(dialog);
                };
            dialog.Show();

New Post: ChildWindow and Visual Studio 2012

$
0
0
Hi, i've a problem.
I'm developing a WPF product and i used the ChildWindow with visual studio 2010 without problems.
Now I am moving to VS2012, and in any page I try to add this control in xaml, visual studio crashes.
It happened to someone?
Any suggestions?
Thanks.

Marcloc

New Post: Cannot bind ColorPicker SelectedColor to the ViewModel

$
0
0
Forget it. I got it. I had to use a Media.Color (and a System.Background.Color will not work either). Like this:
    public System.Windows.Media.Color MediaColor { get; set; }
Ernie

New Post: ChildWindow and Visual Studio 2012

$
0
0
The ChildWindow is working in VS2012 with toolkit v2.0.
The ChildWindow is working in VS2012 with toolkit v1.9.

Here's the childWindow used in XAML :

xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
<xctk:ChildWindow Caption="My Title" Content="My Data" WindowState="Open" />

New Post: Prevent value change when focus is lost

$
0
0
I am currently using the PropertyGrid with several strings. If the user changes the text for say a label (does not hit enter) and than click on another property of the same object, that altered text is applied. Is there a setting to prevent this, or do I just need to implement a custom editor?

Thanks,
MDB

New Post: PrimitiveTypeCollectionEditor - Set ComboBox text?

$
0
0
Hi,

I am trying to use the PrimitiveTypeCollectionEditor control with a List<string> items source. Works fine, but how to set the text which is shown in the combobox? It's just empty, and I would like to set something to show there.


Best Regards
Andreas

Reviewed: Extended WPF Toolkit - 1.9.0 (May 01, 2013)

$
0
0
Rated 5 Stars (out of 5) - Great tools, I do like the BusyIndicator and the DateTimePicker among others

New Post: CheckListBox, Selecting (checking) items by code (c#, manually)

$
0
0
OhRlyMrTsla wrote:
Hello!
I have had a look around but to my disappointment I cannot find a way to select (check) any one chosen item in my collection like you can in windows forms applications.
Now, is there a way to check/uncheck all items and or check a specific item?
All help is greatly appreciated!
Bind the SelectedMemberPath of the CheckListBox to a boolean property of the object you're showing and set / unset that property in code.

Closed Feature: Set a date range on DateTimePicker [18119]

$
0
0
From the following discussion (http://wpftoolkit.codeplex.com/discussions/356980), it should be possible to set a date range on the DateTimePicker.
Comments: Duplicate of 17944

Closed Issue: MaskedTextbox not allow to enter text from Tablet PC Input Panel [18200]

$
0
0
adhakshinamoorthy submitted this issue in the following discussion (http://wpftoolkit.codeplex.com/discussions/357786).
 
It seems text cannot be entered in the MaskedTextBox from the Tablet PC Input Panel in handwriting mode.

Edited Issue: DateTimePicker.ValueChanged fired twice in some scenario's [18680]

$
0
0
You can reproduce it in like 5 minutes:
 
- Create new WPF project
 
- Add DateTimePicker
 
- Attach event handler
 
- Write some statement inside the handler and put a breakpoint on it
 
- Run the program and choose a date from the datetimepicker, you will see that the event handler is invoked twice
 

 
When manipulating through the Value property this does not happen, so everything works correctly then.
 
When using the up and down arrows on a portion of the datetime this does not happen, work correctly too.
 

 
This behavior is still inside the (new) release v1.7.

Edited Feature: Color Picker - Feature request - Only show Advanced Dropdown [17168]

$
0
0
option so that when the dropdown is activated - the Advanced view is shown
(and there is no option to show the standard display)
 
EnableAdvanced = True
EnableStandard = False

Edited Issue: Wizard Navigation CanSelect[Next|Previous]Page updating [17925]

$
0
0
Changing the bound values to CanSelectNextPage does not cause the Command.CanExecute to re-evaluate, so the button doesn't update until the Wizard Page is clicked somewhere.
 
The only way I got the NextButton to update after setting CanSelectNextPage = true was to use CommandManager.InvalidateRequerySuggested();

Closed Issue: TokenizedTextBox delete selection [17432]

$
0
0
Tt's not released yet, however the delete selection of the TokenizedTextBox is not working properly.
The code take only one container, but could be more selected, so I changed it and resolved to share:
if (!richTextBox.Selection.IsEmpty)
{
Paragraph paragraph = richTextBox.Document.Blocks.First() as Paragraph;
foreach (Inline inline in paragraph.Inlines)
{
InlineUIContainer iuic = inline as InlineUIContainer;
if (iuic != null)
{
if (richTextBox.Selection.Contains(iuic.ContentStart))
{
containers.Add(iuic);
}
}
}
}
else
{
containers.Add(richTextBox.CaretPosition.GetAdjacentElement(LogicalDirection.Backward) as InlineUIContainer);
}
 
Now we have all the containers to be deleted.
Comments: Control no longer exist
Viewing all 4964 articles
Browse latest View live


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