Skip to main content

Microsoft Silverlight

Answered Question Newbie questionsRSS Feed

(0)

notig
notig

Member

Member

1 points

9 Posts

Newbie questions

 Just to let you know this might be a recurring thread here where I have questions... I am an amateur programmer... I know only a little and I am beginning to learn silverlight.

 

Here is my first question though. I am following the code in a book and it told me to download this app called kaxaml... which tests xaml code as you type it. However I ran into a problem...... the parser is giving me errors for this line:

   <Matrix M11="1" M12="0" OffsetX="0"
                   M21="0" M22="1" OffsetY="0" />
         </Matrix.Transform.Matrix>

 

it says "AG_E_Parser_property_not_found"

 

Update 1: Well I just tried this same code in visual studio with a silverlight app project.. and the code worked fine.. no errors or warnings.. nothing. I wonder if it is something kaxaml specific?

 

TomBeeby
TomBeeby

Participant

Participant

1151 points

188 Posts

Re: Newbie questions

EDIT: ignore 

SLMonster
SLMonster

Member

Member

299 points

65 Posts

Answered Question

Re: Newbie questions

the '.' is not required between </Matrix.Transform.Matrix>

Use is like

<MatrixTransform >
   <MatrixTransform.Matrix>
        <Matrix M11="1" M12="0" OffsetX="0"  M21="0" M22="1" OffsetY="0" />
    </MatrixTransform.Matrix>
</MatrixTransform>

 

--Mahesh
Please click 'Mark as answer' if this helps you

notig
notig

Member

Member

1 points

9 Posts

Re: Re: Newbie questions

 Thanks for the help btw I must have missed that but it worked.

 

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities