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

New Post: Tooltip display for Properties and SelectedObjectTypeName


Commented Feature: Tooltip display for Properties and SelectedObjectTypeName [21316]

$
0
0
Based on discussion https://wpftoolkit.codeplex.com/discussions/567507
Comments: ** Comment from web user: clynn **

Hi Boucher,

To confirm, this is an issue in both community and plus edition? Is this issue scheduled to be fixed soon?

Thanks,
Cecilia

Commented Feature: Tooltip display for Properties and SelectedObjectTypeName [21316]

$
0
0
Based on discussion https://wpftoolkit.codeplex.com/discussions/567507
Comments: ** Comment from web user: BoucherS **

Hi,

Yes this issue is in the community and Plus Edition of the Toolkit.

It will be fixed in v2.5.
Version 2.5 will show a tooltip when mouse is over a too long trimmed (with ellipses)
-PropertyName
-SelectedObjectTypeName
-SelectedObjectName

The release date for v2.5 is unknown at the moment since it is still being developped.

New Post: Synchronizing with the Grid

$
0
0
Hi BoucherS,

I was eventually able to get this to work by calling UpdateLayout on the derived UserControl that contains the DataGridControl. I'm still a bit confused about why this would be though.

Thanks for all your help!
Alex

New Post: DataGridControl Speed Improvement Suggestions?

$
0
0
I'm currently using the XCeed WPF DataGridControl in a project for a grid with about 60 rows, and about 30~40 columns. It takes about 15 seconds for the grid to be created, and I was wondering if this speed is normal? Using the Visual Studio profiler, it's shown that the hottest path based on CPU usage seems to be in MeasureOverride during this time.

Are there any suggestions for what could be done to speed this up?

New Post: DataGridControl Speed Improvement Suggestions?

$
0
0
Hi alexchou1984,

No, this is not normal to take so much much time loading the DataGrid. Of course, Measurement is a quite big job and must be done as limited as possible. It could be the way you use the DataGrid.

If you are using the LayoutUpdated callback, don't forget it is called on every update.

If you don't find anything in your program, can you send a small sample showing how slow it is when loading the datagrid ?
Thanks.

Created Unassigned: NumericUpDown uses the FormatString incorrect [21329]

$
0
0
Line 187 in CommonNumericUpDown.cs
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

Commented Unassigned: NumericUpDown uses the FormatString incorrect [21329]

$
0
0
Line 187 in CommonNumericUpDown.cs
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
Comments: ** Comment from web user: BoucherS **

Hi,

Can you specify what FormatString you are using, the result you have and what you expect as a result .
Can you specify what version of the toolkit you are using.

Reading your suggestion tells me that only FormatString == "P" will parsePercent. But it should parePercent for FormatString equals to "P2", "P4"...


Commented Unassigned: NumericUpDown uses the FormatString incorrect [21329]

$
0
0
Line 187 in CommonNumericUpDown.cs
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
Comments: ** Comment from web user: TrueFuFLeaderG **

Hi,
thanks for the reply.

Extended WPF Toolkit™ Community Edition 2.2.1

I use something like
```c#
"0. 'PV'"
```
as Format string

According to [Microsoft](http://msdn.microsoft.com/de-de/library/0c899ak8(v=vs.110).aspx) this is a valid Format string.


Maybe this is a better solution or we have to specify when we use a custom format string.

```c#

result = Regex.Replace(FormatString, "\\\\.|\"[^\"]*\"|'[^\"]*'", "").ToUpper().Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

Commented Unassigned: NumericUpDown uses the FormatString incorrect [21329]

$
0
0
Line 187 in CommonNumericUpDown.cs
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
Comments: ** Comment from web user: BoucherS **

Hi,

Without changing anything in the code and using v2.2.1, if I have
```
<xctk:DoubleUpDown Value="12.25" FormatString="0. 'PV'"/>
```

The DoubleUpDown displays "12 PV".

Is this wrong with this FormatString ?

Edited Feature: Support hiding of the Misc category [18874]

$
0
0
In issue 17421, a user expressed his needs to hide the "Misc" category of the property grid.
Comments: ** Comment from web user: BoucherS **

This will be fixed in v2.5.
When the new Property PropertyGrid.IsMiscCategoryLabelHidden is True, the "Misc" category label won't be displayed.

Commented Unassigned: NumericUpDown uses the FormatString incorrect [21329]

$
0
0
Line 187 in CommonNumericUpDown.cs
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
Comments: ** Comment from web user: TrueFuFLeaderG **

Yes the display is 12 PV, but if you type 15 and leave the control or begin spinning, the value will become 0.15 and displays 0.15 PV.

Edited Issue: NumericUpDown uses the FormatString incorrect [21329]

$
0
0
Line 187 in CommonNumericUpDown.cs
```c#
//Don't know why someone would format a T as %, but just in case they do.
result = FormatString.Contains( "P" )
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```

With this line you can not use the Letter "P" in a Format string, even with a leading \ or in literal string delimiter. (" and ')
i think this line should look like this
```c#
result = FormatString.Equals("P",StringComparison.InvariantCultureIgnoreCase)
? _fromDecimal( ParsePercent( text, CultureInfo ) )
: _fromText( text, this.ParsingNumberStyle, CultureInfo );
```
Comments: ** Comment from web user: BoucherS **

This will be fixed in v2.5.
Thanks !

New Post: DateTimePicker close after Year / Month selection

$
0
0
Hi,

I use the DateTimePicker with "AutoCloseCalendar=True" option. If I select by mouse a date its working fine. If I click at the Calendar date selection control at the top (eg. "September 2014"), the "Month-Selection-Panel" of the current Year opens. When I now click on a month the control close and the "Select Date action" result to nothing (empty Date-Field).

I'm need a solution for that propblem. Like AutoCloseCalender when "Year->Month->Day" was selected by the User.

New Post: DateTimePicker close after Year / Month selection

$
0
0
Hi,

This issue has been fixed in v2.1. Please use the latest version. It should be fixed.

Commented Unassigned: SelectorItem in classic theme [19774]

$
0
0
CheckListBox and CheckComboBox have problems with the classic Windows theme when the mouse is over one of the items.
The problem is that the check mark is drawn using the Foreground color in Classic.xaml:
``` XAML
<Style x:Key="{x:Type CheckBox}"
TargetType="{x:Type CheckBox}">
...
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type CheckBox}">
<BulletDecorator ...>
<BulletDecorator.Bullet>
<theme:ClassicBorderDecorator x:Name="CheckMark"
Background="{TemplateBinding Background}" ...>
<Path x:Name="CheckMarkPath"
Margin="1,1,1,1" Width="7" Height="7" FlowDirection="LeftToRight"
Fill="{TemplateBinding Foreground}"
Data="M 0 2.0 L 0 4.8 L 2.5 7.4 L 7.1 2.8 L 7.1 0 L 2.5 4.6 Z"/>
...
```

The default style for the SelectorItem sets the Foreground color to HighlightTextBrushKey (which defaults to white) when the cursor is over, so the check mark is white on white which looks as if the check box is not checked even if you just clicked on it:
```
<Style TargetType="{x:Type primitives:SelectorItem}">
...
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type primitives:SelectorItem}">
...
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true">
<Setter TargetName="_background" Property="Background" Value="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" />
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.HighlightTextBrushKey}}" />
</Trigger>
...
```

So highlighted items always look as if they are not checked.
Comments: ** Comment from web user: BoucherS **

This is a problem with the Microsoft's CheckBox when using "ClassicThemes" as Windows XP does :
http://dotnetgui.blogspot.ca/2011/10/wpf-and-invisible-checkbox-and-radio.html
http://stackoverflow.com/questions/3753143/check-mark-in-a-checkbox

This bugs doesn't happens in Windows7 or Windows8

Commented Feature: PropertyGrid: support DisplayAttribute. [19101]

$
0
0
PropertyGrid should support System.ComponentModel.DataAnnotations.DisplayAttribute.
Comments: ** Comment from web user: BoucherS **

The following attributes can be used instead of using the DisplayAttribute :
-Category
-Description
-DisplayName

Edited Feature: PropertyGrid: support DisplayAttribute. [19101]

$
0
0
PropertyGrid should support System.ComponentModel.DataAnnotations.DisplayAttribute.

New Post: Localization of wpf toolkit controls?

$
0
0
The word "Search" in the PropertyGrid can be changed with the property PropertyGrid.FilterWatermark.

Edited Issue: ColorPicker: Allow Localization [19306]

$
0
0
Extracted from this discussion:
http://wpftoolkit.codeplex.com/discussions/430383
-------------------------
Hi, I wanna use ColorPicker, however, the default language was english. I prefer other language, how i can set?or is there any way that i can set the text in the control?
Comments: ** Comment from web user: BoucherS **

2 new properties will be added in v2.5 :
ColorPicker.AdvancedButtonHeader
ColorPicker.StandardButtonHeader

They will let you customize the content of the button in the ColorPicker.

Viewing all 4964 articles
Browse latest View live


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