Click here to Skip to main content
15,914,905 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: How to set mouse position? Pin
Yoyosch21-Apr-08 23:46
Yoyosch21-Apr-08 23:46 
GeneralRe: How to set mouse position? Pin
Pete O'Hanlon22-Apr-08 0:53
mvePete O'Hanlon22-Apr-08 0:53 
GeneralRe: How to set mouse position? Pin
Yoyosch22-Apr-08 5:49
Yoyosch22-Apr-08 5:49 
GeneralRe: How to set mouse position? Pin
Pete O'Hanlon22-Apr-08 8:41
mvePete O'Hanlon22-Apr-08 8:41 
GeneralRe: How to set mouse position? Pin
User 27100922-Apr-08 5:59
User 27100922-Apr-08 5:59 
GeneralOT: MVP Summit Pin
Colin Angus Mackay22-Apr-08 6:42
Colin Angus Mackay22-Apr-08 6:42 
GeneralRe: OT: MVP Summit Pin
User 27100922-Apr-08 7:43
User 27100922-Apr-08 7:43 
QuestionWPF and no end list Pin
asgardia19-Apr-08 13:05
asgardia19-Apr-08 13:05 
GeneralRe: WPF and no end list Pin
User 27100921-Apr-08 5:17
User 27100921-Apr-08 5:17 
QuestionWPF Browser Application With Ajax Pin
Abhijit Jana18-Apr-08 21:29
professionalAbhijit Jana18-Apr-08 21:29 
AnswerRe: WPF Browser Application With Ajax Pin
charlymoon23-Apr-08 12:21
charlymoon23-Apr-08 12:21 
QuestionWebBrowser hosted in a WPF user control called from MFC dialog hangs when pressing the TAB key. Pin
OscarOrtega18-Apr-08 6:28
OscarOrtega18-Apr-08 6:28 
GeneralRe: WebBrowser hosted in a WPF user control called from MFC dialog hangs when pressing the TAB key. Pin
RNEELY21-Apr-08 17:24
RNEELY21-Apr-08 17:24 
GeneralRe: WebBrowser hosted in a WPF user control called from MFC dialog hangs when pressing the TAB key. Pin
OscarOrtega22-Apr-08 23:07
OscarOrtega22-Apr-08 23:07 
GeneralRe: WebBrowser hosted in a WPF user control called from MFC dialog hangs when pressing the TAB key. Pin
OscarOrtega23-Apr-08 0:14
OscarOrtega23-Apr-08 0:14 
GeneralRe: WebBrowser hosted in a WPF user control called from MFC dialog hangs when pressing the TAB key. Pin
RNEELY23-Apr-08 3:35
RNEELY23-Apr-08 3:35 
GeneralRe: WebBrowser hosted in a WPF user control called from MFC dialog hangs when pressing the TAB key. Pin
OscarOrtega22-Apr-08 23:01
OscarOrtega22-Apr-08 23:01 
GeneralRe: WebBrowser hosted in a WPF user control called from MFC dialog hangs when pressing the TAB key. Pin
NickB25-Jun-08 4:14
NickB25-Jun-08 4:14 
GeneralWPF animation and performance Pin
koleraba17-Apr-08 12:14
koleraba17-Apr-08 12:14 
GeneralRe: WPF animation and performance Pin
User 27100917-Apr-08 18:26
User 27100917-Apr-08 18:26 
Generalfloat Dependency Property Exception Pin
RNEELY17-Apr-08 9:33
RNEELY17-Apr-08 9:33 
Please help me resolve the exception that get's thrown below when I try to run an app with one simple float dependency property. It is a default WPF window app with the following added to Window 1 to create a float dependency property:
<br />
    public partial class Window1 : Window<br />
    {<br />
        public Window1()<br />
        {<br />
            InitializeComponent();<br />
        }<br />
        public static readonly DependencyProperty DependFloatProperty =<br />
            DependencyProperty.Register("DependFloat",<br />
            typeof(float),<br />
            typeof(Window1),<br />
            new UIPropertyMetadata(0.0));<br />
        public float DependFloat<br />
        {<br />
            get { return (float)GetValue(DependFloatProperty); }<br />
            set { SetValue(DependFloatProperty, value); }<br />
        }<br />
    }<br />


Following is the xaml:
<br />
<Window x:Class="Dependent.Window1"<br />
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br />
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<br />
    Title="Window1" Height="300" Width="300"><br />
    <Grid><br />
    </Grid><br />
</Window><br />


When I run the app I get the following exception:
System.Windows.Markup.XamlParseException was unhandled
Message="Cannot create instance of 'Window1' defined in assembly 'Dependent, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Window1.xaml' Line 1 Position 9."
Source="PresentationFramework"
LineNumber=1
LinePosition=9
...

Sincerely,
-Ron

GeneralRe: float Dependency Property Exception Pin
Pete O'Hanlon17-Apr-08 9:55
mvePete O'Hanlon17-Apr-08 9:55 
GeneralRe: float Dependency Property Exception Pin
RNEELY17-Apr-08 10:00
RNEELY17-Apr-08 10:00 
Generalwpf xbap listbox problem Pin
pat3d216-Apr-08 9:03
pat3d216-Apr-08 9:03 
GeneralRe: wpf xbap listbox problem Pin
RNEELY18-Apr-08 4:48
RNEELY18-Apr-08 4:48 

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.