Tag Archives: WPF

Sugestie

Sugestie pentru autorii de software development components care vor să scrie cod o singură dată și apoi să-l publice cu suport multi-platformă și să fie totodată în tendințe: Dezvoltați nucleul utilizând JavaScript® și HTML5, cu evenimente suficiente pentru determinarea (și … Continue reading

Posted in Computere și Internet | Tagged , , , , , | Leave a comment

Synchronized control inheritance and aggregation may lead to UI Automation issues

Sometimes developers are not able to successfully inject custom features to an already existing user interface component just by inheritance or control template updates. For example, trying to inherit from Microsoft® WPF’s DataGrid in order to provide graphical drawings based … Continue reading

Posted in Computers and Internet | Tagged , , , , , , , | Leave a comment

DataGrid issue when defining both general RowHeight and individual DataGridRow.Height values

We’ve just encountered a strange row height-related issue when using DataGrid control from WPF 4: if you set both DataGrid.RowHeight and individual DataGridRow.Height values for specific rows (to get some larger items), the output is not as expected: <DataGrid Name=”DataGrid” … Continue reading

Posted in Computers and Internet | Tagged , , , | Leave a comment

Exported DrawingVisual quality when using VisualBrush

Either sooner or later, as a WPF developer, you will need to write code to generate a DrawingVisual for exporting image or printing purposes using a VisualBrush generated from a content element in your user interface like this: private DrawingVisual … Continue reading

Posted in Computers and Internet | Tagged , , , , , , , , , | 2 Comments

Desktop applications in Windows 8 Release Preview load using Classic theme

It seems that for WPF applications run in desktop mode of Windows 8 Release Preview Microsoft has decided to default the runtime theme to Classic, even when the selected Windows theme from Control Panel is from the Aero group (such … Continue reading

Posted in Computers and Internet | Tagged , , , , , , , | Leave a comment

WPF feature request: initializing object instances from style setters

Assume that you have a WPF CustomControl class (inheriting from Control) and you want to initialize its ContextMenu property to include a set of pre-created MenuItem objects that you would like to be available by default in your control instances, … Continue reading

Posted in Computers and Internet | Tagged , , , , , , | 1 Comment

Namespaces

For some time I have considered that the best way to set up the namespace for Windows client components developed by our company should be simple: CompanyName.Windows.Controls. And different packages could be assembled in different library files, using appropriate naming … Continue reading

Posted in Computere și Internet | Tagged , , , , , , | Leave a comment