Click here to Skip to main content
15,868,016 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Custom Control Template for beginners Pin
SledgeHammer0129-Jan-13 12:46
SledgeHammer0129-Jan-13 12:46 
GeneralTreeview Selection Pin
vijilvs11628-Jan-13 23:03
vijilvs11628-Jan-13 23:03 
QuestionProblem With TreeViewItem Tooltip Pin
Kevin Marois26-Jan-13 15:39
professionalKevin Marois26-Jan-13 15:39 
GeneralRe: Problem With TreeViewItem Tooltip Pin
Thomas Duwe29-Jan-13 1:46
Thomas Duwe29-Jan-13 1:46 
QuestionHow to get a value from treeview. Pin
boryborawski26-Jan-13 12:06
boryborawski26-Jan-13 12:06 
QuestionConstant header and footer Pin
columbos1492725-Jan-13 23:11
columbos1492725-Jan-13 23:11 
AnswerRe: Constant header and footer Pin
Richard MacCutchan26-Jan-13 0:05
mveRichard MacCutchan26-Jan-13 0:05 
QuestionWPF.MDI Pin
columbos1492725-Jan-13 8:37
columbos1492725-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<br />
Object reference not set to an instance of an object.<br />
   at WPF.MDI.MdiContainer.MdiContainer_Loaded(Object sender, RoutedEventArgs e)<br />
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)<br />
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)<br />
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)<br />
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)<br />
   at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)<br />
   at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)<br />
   at MS.Internal.LoadedOrUnloadedOperation.DoWork()<br />
   at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()<br />
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()<br />
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)<br />
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)<br />
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br />
   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 Pin
Abhishek Pant25-Jan-13 9:29
professionalAbhishek Pant25-Jan-13 9:29 
GeneralRe: WPF.MDI Pin
columbos1492725-Jan-13 22:11
columbos1492725-Jan-13 22:11 
GeneralRe: WPF.MDI Pin
Abhishek Pant25-Jan-13 22:33
professionalAbhishek Pant25-Jan-13 22:33 
AnswerRe: WPF.MDI Pin
tram730-Nov-13 5:54
tram730-Nov-13 5:54 
QuestionSilverlight Dispatcher.BeginInvoke not allow thread to run more then one time Pin
Steve Holdorf24-Jan-13 12:13
Steve Holdorf24-Jan-13 12:13 
AnswerRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time Pin
db7uk26-Jan-13 13:11
db7uk26-Jan-13 13:11 
GeneralRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time Pin
Steve Holdorf27-Jan-13 3:19
Steve Holdorf27-Jan-13 3:19 
GeneralRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time Pin
db7uk27-Jan-13 12:44
db7uk27-Jan-13 12:44 
GeneralRe: Silverlight Dispatcher.BeginInvoke not allow thread to run more then one time Pin
Steve Holdorf27-Jan-13 13:16
Steve Holdorf27-Jan-13 13:16 
QuestionSilverlight OOB access in Online Pin
Sugu.s23-Jan-13 23:09
Sugu.s23-Jan-13 23:09 
AnswerRe: Silverlight OOB access in Online Pin
Richard MacCutchan24-Jan-13 1:50
mveRichard MacCutchan24-Jan-13 1:50 
GeneralRe: Silverlight OOB access in Online Pin
Sugu.s24-Jan-13 17:31
Sugu.s24-Jan-13 17:31 
GeneralRe: Silverlight OOB access in Online Pin
Richard MacCutchan24-Jan-13 22:41
mveRichard MacCutchan24-Jan-13 22:41 
GeneralRe: Silverlight OOB access in Online Pin
Sugu.s25-Jan-13 0:36
Sugu.s25-Jan-13 0:36 
GeneralRe: Silverlight OOB access in Online Pin
Richard MacCutchan25-Jan-13 1:36
mveRichard MacCutchan25-Jan-13 1:36 
QuestionHow to set the border template a red wavy line , when the control have validation error? Pin
Salam633123-Jan-13 17:01
professionalSalam633123-Jan-13 17:01 
AnswerRe: How to set the border template a red wavy line , when the control have validation error? Pin
Richard MacCutchan23-Jan-13 23:07
mveRichard MacCutchan23-Jan-13 23:07 

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

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