Click here to Skip to main content
15,901,035 members
Home / Discussions / WPF
   

WPF

 
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 
GeneralRe: wpf xbap listbox problem Pin
pat3d223-Apr-08 7:27
pat3d223-Apr-08 7:27 
GeneralProblem with UserControl [modified] Pin
koleraba14-Apr-08 15:23
koleraba14-Apr-08 15:23 
GeneralRe: Problem with UserControl Pin
Insincere Dave14-Apr-08 16:33
Insincere Dave14-Apr-08 16:33 
GeneralRe: Problem with UserControl Pin
koleraba15-Apr-08 0:11
koleraba15-Apr-08 0:11 
GeneralPhoto Gallery using Silver light Pin
r aa j14-Apr-08 3:43
r aa j14-Apr-08 3:43 
GeneralRe: Photo Gallery using Silver light Pin
Michael Sync14-Apr-08 17:53
Michael Sync14-Apr-08 17:53 
GeneralRe: Photo Gallery using Silver light Pin
r aa j15-Apr-08 18:16
r aa j15-Apr-08 18:16 
QuestionHow can i use DataGridView in WPF Application? Pin
bankey101011-Apr-08 1:24
bankey101011-Apr-08 1:24 
AnswerRe: How can i use DataGridView in WPF Application? Pin
User 27100911-Apr-08 2:02
User 27100911-Apr-08 2:02 
GeneralRe: How can i use DataGridView in WPF Application? Pin
Pete O'Hanlon11-Apr-08 3:13
mvePete O'Hanlon11-Apr-08 3:13 
AnswerRe: How can i use DataGridView in WPF Application? Pin
Pete O'Hanlon11-Apr-08 2:23
mvePete O'Hanlon11-Apr-08 2:23 
GeneralRe: How can i use DataGridView in WPF Application? Pin
User 27100911-Apr-08 3:32
User 27100911-Apr-08 3:32 
GeneralRe: How can i use DataGridView in WPF Application? Pin
Pete O'Hanlon11-Apr-08 4:11
mvePete O'Hanlon11-Apr-08 4:11 

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.