Click here to Skip to main content
       

Silverlight / WPF

 
AnswerRe: WPF Tab Item Close Button PinmemberSledgeHammer0129-Jan-13 19:02 
GeneralRe: WPF Tab Item Close Button PinmemberKevin Marois2-Feb-13 15:33 
GeneralRe: WPF Tab Item Close Button PinmemberSledgeHammer012-Feb-13 18:25 
QuestionCustom Control Template for beginners Pinmemberjeffdavis870329-Jan-13 9:12 
AnswerRe: Custom Control Template for beginners PinmemberSledgeHammer0129-Jan-13 11:32 
GeneralRe: Custom Control Template for beginners Pinmemberjeffdavis870329-Jan-13 12:10 
GeneralRe: Custom Control Template for beginners PinmemberSledgeHammer0129-Jan-13 12:46 
GeneralTreeview Selection Pinmembervijilvs11628-Jan-13 23:03 
QuestionProblem With TreeViewItem Tooltip [modified] PinmemberKevin Marois26-Jan-13 15:39 
GeneralRe: Problem With TreeViewItem Tooltip PinmemberThomas Duwe29-Jan-13 1:46 
QuestionHow to get a value from treeview. Pinmemberboryborawski26-Jan-13 12:06 
QuestionConstant header and footer Pinmembercolumbos1492725-Jan-13 23:11 
AnswerRe: Constant header and footer PinmvpRichard MacCutchan26-Jan-13 0:05 
QuestionWPF.MDI Pinmembercolumbos1492725-Jan-13 8:37 
Hello,
I'm using WPF.MDI.dll assembly in my project.
 
This is my Main window XAML file:
<Window x:Class="PL.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mdi="clr-namespace:WPF.MDI;assembly=WPF.MDI"
        Title="MainWindow" Height="400" Width="800">
    <DockPanel>
        <mdi:MdiContainer>
        </mdi:MdiContainer>
    </DockPanel>
</Window>
 
As soon as i added the lines:
<mdi:MdiContainer>
</mdi:MdiContainer>
 
I got the next message at the designer:
System.NullReferenceException
Object reference not set to an instance of an object.
at WPF.MDI.MdiContainer.MdiContainer_Loaded(Object sender, RoutedEventArgs e)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

 
Any body can help me solve the problem?
 
Thanks!!!
AnswerRe: WPF.MDI PinmemberAbhishek Pant25-Jan-13 9:29 
GeneralRe: WPF.MDI Pinmembercolumbos1492725-Jan-13 22:11 
GeneralRe: WPF.MDI PinmemberAbhishek Pant25-Jan-13 22:33 
AnswerRe: WPF.MDI Pinmembertram730-Nov-13 5:54 
QuestionSilverlight Dispatcher.BeginInvoke not allow thread to run more then one time [modified] PinmemberSteve Holdorf24-Jan-13 12:13 
AnswerRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time Pinmemberdb7uk26-Jan-13 13:11 
GeneralRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time [modified] PinmemberSteve Holdorf27-Jan-13 3:19 
GeneralRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time Pinmemberdb7uk27-Jan-13 12:44 
GeneralRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time [modified] PinmemberSteve Holdorf27-Jan-13 13:16 
QuestionSilverlight OOB access in Online PinmemberSugumaran s23-Jan-13 23:09 
AnswerRe: Silverlight OOB access in Online PinmvpRichard MacCutchan24-Jan-13 1:50 
GeneralRe: Silverlight OOB access in Online PinmemberSugumaran s24-Jan-13 17:31 
GeneralRe: Silverlight OOB access in Online PinmvpRichard MacCutchan24-Jan-13 22:41 
GeneralRe: Silverlight OOB access in Online PinmemberSugumaran s25-Jan-13 0:36 
GeneralRe: Silverlight OOB access in Online PinmvpRichard MacCutchan25-Jan-13 1:36 
QuestionHow to set the border template a red wavy line , when the control have validation error? PinmemberSalam633123-Jan-13 17:01 
AnswerRe: How to set the border template a red wavy line , when the control have validation error? PinmvpRichard MacCutchan23-Jan-13 23:07 
GeneralRe: How to set the border template a red wavy line , when the control have validation error? PinmemberSalam633124-Jan-13 1:36 
GeneralRe: How to set the border template a red wavy line , when the control have validation error? PinmvpRichard MacCutchan24-Jan-13 1:43 
QuestionText box default text Pinmembercolumbos1492722-Jan-13 2:06 
AnswerRe: Text box default text PinmvpAbhinav S22-Jan-13 3:06 
QuestionConverting WPF windows application to Web Application. PinmemberHema Bairavan21-Jan-13 19:20 
AnswerRe: Converting WPF windows application to Web Application. PinmemberHariPrasad katakam21-Jan-13 22:31 
GeneralRe: Converting WPF windows application to Web Application. PinprotectorPete O'Hanlon21-Jan-13 23:22 
GeneralRe: Converting WPF windows application to Web Application. PinmemberHema Bairavan22-Jan-13 0:19 
AnswerRe: Converting WPF windows application to Web Application. PinmvpAbhinav S21-Jan-13 22:49 
GeneralRe: Converting WPF windows application to Web Application. PinmemberHema Bairavan22-Jan-13 0:12 
AnswerRe: Converting WPF windows application to Web Application. PinmvpAbhinav S22-Jan-13 0:20 
GeneralRe: Converting WPF windows application to Web Application. PinmemberHema Bairavan22-Jan-13 0:30 
AnswerRe: Converting WPF windows application to Web Application. PinmvpAbhinav S22-Jan-13 2:58 
GeneralRe: Converting WPF windows application to Web Application. PinmemberHema Bairavan22-Jan-13 18:07 
GeneralRe: Converting WPF windows application to Web Application. PinmemberPaulo Zemek23-Jan-13 6:22 
GeneralRe: Converting WPF windows application to Web Application. PinmemberHema Bairavan24-Jan-13 5:30 
AnswerRe: Converting WPF windows application to Web Application. PinprotectorPete O'Hanlon21-Jan-13 23:27 
GeneralRe: Converting WPF windows application to Web Application. PinmemberHema Bairavan22-Jan-13 0:24 
AnswerRe: Converting WPF windows application to Web Application. Pinmemberdb7uk26-Jan-13 13:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 1 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid