Showing posts with label WPF. Show all posts
Showing posts with label WPF. Show all posts

Wednesday, January 11, 2012

XamlPadX 4.0 : Awesome Free Tool For XMAL

XamlPadX 4.0 is awesome tool for XMAL editor for WPF/Silverlight. XamlPadX has features as per bellow.
  • Menus have been rearranged to maximize the space.
  • Basic Control predefined styles sample code
  • Command Interpreter for  syntax help
  • Addins: 
    • Clipboard viewer - which works well for analyzing rtf/xaml ... 
    • Path Designer/Jasema
    • Color Picker
  • Snapshot utility to take snapshots and save the XAML rendering
  • Syntax highlighting and collapsing
  • Error logs - left bottom corner has a link to the stack trace when there is an error
  • Error light - editor has a red/green box at the bottom right corner
  • Bug fixes/code restructuring
     
    Download/Install: XamlpadX [On Vista, save to desktop, right click and Run as Admin]
    Zipped file in case you have problem downloading the installable:Click here

Saturday, January 7, 2012

What's New in the .NET Framework 4.5 Developer Preview

This topic contains information about key features and improvements in the .NET Framework 4.5 Developer Preview. This topic does not provide comprehensive information and is subject to change.

New features and improvements are described as per bellow.

.NET for Metro style apps

Metro style apps are designed for specific form factors and leverage the power of the Windows operating system. A subset of the .NET Framework is available for building Metro style apps for Windows using C# or Visual Basic. This subset is called .NET APIs for Metro style apps. For more information about this subset.

Core New Features and Improvements

The following features and improvements were added to the common language runtime and to .NET Framework classes:
  • Ability to limit how long the regular expression engine will attempt to resolve a regular expression before it times out.
  • Ability to define the culture for an application domain.
  • Console support for Unicode (UTF-16) encoding.
  • Support for versioning of cultural string ordering and comparison data.
  • Better performance when retrieving resources.
  • Zip compression improvements to reduce the size of a compressed file.
  • Ability to customize a reflection context to override default reflection behavior through the CustomReflectionContext class.

Wednesday, January 4, 2012

In WPF getting error -"specified element is already the logical child of another element. disconnect it first."


→ I have found this error at the time of using datagrid. I have one condition to set visibility of the particular datagrid column.

→ I have used the following ColumnTemplate in the Grid.

  
→ Here, I was using Directly writing Content in the Header , so after set visibility Collapsed to Visible or vice versa for the particular colums, I was getting this error.

→ I have found the solution that , define the Template for the header instead of direct content as below. The Problem has been resolved by this.