Click here to Skip to main content
15,912,932 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Children in reverse order, add to the Grid Pin
rus20420-Nov-10 23:00
rus20420-Nov-10 23:00 
GeneralRe: Children in reverse order, add to the Grid Pin
Mycroft Holmes20-Nov-10 23:47
professionalMycroft Holmes20-Nov-10 23:47 
GeneralRe: Children in reverse order, add to the Grid Pin
rus20421-Nov-10 3:19
rus20421-Nov-10 3:19 
GeneralRe: Children in reverse order, add to the Grid Pin
Pete O'Hanlon21-Nov-10 4:44
mvePete O'Hanlon21-Nov-10 4:44 
AnswerRe: Children in reverse order, add to the Grid Pin
Abhinav S20-Nov-10 23:42
Abhinav S20-Nov-10 23:42 
GeneralRe: Children in reverse order, add to the Grid Pin
rus20421-Nov-10 3:36
rus20421-Nov-10 3:36 
AnswerRe: Children in reverse order, add to the Grid Pin
Abhinav S21-Nov-10 5:57
Abhinav S21-Nov-10 5:57 
QuestionVB.Net/Silverlight Namespace(?) Issue [UPDATED] Pin
#realJSOP19-Nov-10 4:05
professional#realJSOP19-Nov-10 4:05 
Im converting a project from C# to VB (I know - I'm in HELL). I have a base class derived from UserControl, and have several controls derived from the base class. None of these objects are in their own namespace.

When I try to compile the app, I get the following error for all of the controls:

D:\dev\Silverlight\...\UserControls\MyControl.g.vb(41) : error BC30002: Type 'MyProject.MyBaseControl' is not defined.

The xaml looks like this:

XML
<my:MyBaseObj x:Class="MyProject.MyControl"
              xmlns:my="clr-namespace:MyProject">


The .vb code looks like this:

VB
public partial class MyBaseObj
                     Inherits UserControl
end class

public partial class MyControl
                     Inherits MyBaseObj
end class


I tried creating a simple test project with a similar arrangement of files, and it compiles fine. I have no idea why it's doing this.

================ UPDATE:

When I try to define the xmlns namespace entry in the Xaml file, intellisense claims it can't find the namespace, even though I used intellisense to define the xmlns namespace entry. Because it can't find the namespace in the project, it doesn't show any objects when I try to define the user control itself (in the Xaml).
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
modified on Monday, November 22, 2010 9:44 AM

AnswerRe: VB.Net/Silverlight Namespace(?) Issue Pin
Abhinav S20-Nov-10 2:09
Abhinav S20-Nov-10 2:09 
GeneralRe: VB.Net/Silverlight Namespace(?) Issue Pin
#realJSOP20-Nov-10 4:12
professional#realJSOP20-Nov-10 4:12 
AnswerRe: VB.Net/Silverlight Namespace(?) Issue Pin
_Maxxx_21-Nov-10 15:04
professional_Maxxx_21-Nov-10 15:04 
GeneralRe: VB.Net/Silverlight Namespace(?) Issue Pin
#realJSOP21-Nov-10 23:31
professional#realJSOP21-Nov-10 23:31 
QuestionMVVM type Question Pin
_Maxxx_18-Nov-10 19:52
professional_Maxxx_18-Nov-10 19:52 
AnswerRe: MVVM type Question Pin
Mycroft Holmes18-Nov-10 20:43
professionalMycroft Holmes18-Nov-10 20:43 
GeneralRe: MVVM type Question Pin
_Maxxx_18-Nov-10 22:48
professional_Maxxx_18-Nov-10 22:48 
GeneralRe: MVVM type Question Pin
Mycroft Holmes19-Nov-10 0:29
professionalMycroft Holmes19-Nov-10 0:29 
AnswerRe: MVVM type Question Pin
Pete O'Hanlon19-Nov-10 1:42
mvePete O'Hanlon19-Nov-10 1:42 
GeneralRe: MVVM type Question Pin
_Maxxx_19-Nov-10 3:53
professional_Maxxx_19-Nov-10 3:53 
GeneralRe: MVVM type Question Pin
Pete O'Hanlon19-Nov-10 4:04
mvePete O'Hanlon19-Nov-10 4:04 
GeneralRe: MVVM type Question Pin
_Maxxx_21-Nov-10 15:20
professional_Maxxx_21-Nov-10 15:20 
QuestionContext menu with check mark Pin
vikas amin18-Nov-10 4:59
vikas amin18-Nov-10 4:59 
AnswerRe: Context menu with check mark Pin
Abhinav S18-Nov-10 5:04
Abhinav S18-Nov-10 5:04 
GeneralRe: Context menu with check mark Pin
vikas amin17-Jan-11 5:04
vikas amin17-Jan-11 5:04 
QuestionActiveX Control in WPF Pin
martin500018-Nov-10 2:46
martin500018-Nov-10 2:46 
Questionrolling data in datagrid in silverlight Pin
CupLife17-Nov-10 23:52
CupLife17-Nov-10 23:52 

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.