May 18, 2012

WPF Window Maximize problem


Problem
- The WPF application Maximize Problem and not work correctly
- The WindowState="Maximized" make window bigger than screen size and ...
- After loaded the window, it comes bigger than whole screen size and ...
- I created a WPF window and I'm running into maximizing problems.
- Problem in Maximize state
- Fully Maximize WPF Window using windowstate is not working

Solution
Just remove below line from XAML code.
SizeToContent="WidthAndHeight"
Or add below line after InitializeComponent(); in constructor
SizeToContent=System.Windows.SizeToContent.Manual;

April 15, 2012

Grouping Problem in GridControl


Problem
- Devexpress WPF GridControl Grouping Problem
- Problem WPF DXGrid with CollectionViewSource
- GridControl can't grouping
- WPF DataGrid through EF Can't support grouppoing
- DXGrid grouping problem with CollectionViewSource
- Devexpress WPF GridControl have problem with grouping
- Grouping Columns not working in dxg:GridControl

Solution
1- It has a simple, just add CollectionViewType to CollectionViewSource like below
 <CollectionViewSource CollectionViewType="ListCollectionView" x:Key="X" />    
2- Don't use of CollectionViewSource and set directly the Grid ItemSource.

Reference
HelpLink: http://www.devexpress.com/Support/Center/p/Q382933.aspx

March 17, 2012

KMPlayer Audio Problem

Problem
- Solve kmplayer mkv audio problem
- How to fix KMPlayer Audio noise
- How to find out the problem of MKV video format audio noise
- When i play the mkv video file, strange noise is mixed with voice ...
- .mkv plays with noise in KMPlayer but in other player it's fine!

Solution
You must to find out the Audio Decoder and change it. Follow me
1- Play the video
2- Press Ctrl + Tab (Advance Playback Info)

3- Read the Audio Decoder Name (in this case it's ACC)
4- Press F2 (Preferences)
5- Goto Filter Control > Decoder Usage > Internal Audio Decoder > Unchecked the Audio Decoder (in this case it's ACC)

6- Close and Close and Open the video again ;-)


March 02, 2012

List of EventHandler

System.Windows.Controls (WPF)
  • CleanUpVirtualizedItemEventHandler
  • ContextMenuEventHandler
  • DataGridSortingEventHandler
  • GroupStyleSelector
  • InitializingNewItemEventHandler
  • InkCanvasGestureEventHandler
  • InkCanvasSelectionChangingEventHandler
  • InkCanvasSelectionEditingEventHandler
  • InkCanvasStrokeCollectedEventHandler
  • InkCanvasStrokeErasingEventHandler
  • InkCanvasStrokesReplacedEventHandler
  • ScrollChangedEventHandler
  • SelectedCellsChangedEventHandler
  • SelectionChangedEventHandler
  • TextChangedEventHandler
  • ToolTipEventHandler

System.Windows.Controls (WPF)
  • AutoResizedEventHandler
  • CoerceValueCallback
  • DataObjectCopyingEventHandler
  • DataObjectPastingEventHandler
  • DataObjectSettingDataEventHandler
  • DependencyPropertyChangedEventHandler
  • DragEventHandler
  • ExitEventHandler
  • GiveFeedbackEventHandler
  • PropertyChangedCallback
  • QueryContinueDragEventHandler
  • RequestBringIntoViewEventHandler
  • RoutedEventHandler
  • RoutedPropertyChangedEventHandler <T >
  • SessionEndingCancelEventHandler
  • SizeChangedEventHandler
  • SourceChangedEventHandler
  • StartupEventHandler
  • ValidateValueCallback

This story... to be continued ;-)