Professional Documents
Culture Documents
IsADO.NETobjectssupportedinSilverlightProject? No,Silverlightprojectdoesn'tsupportnormalADO.NETobjectslikeDataTable,DataSet,DataColumn, DatabaseconnectionproviderslikeSqlConnection,OledbConnectionobjects. YoucanuseSystem.DatanamespacebutthatcontainsServicesrelatedstuffsnotADO.NETstuffs. Canweaddnormalprojectreference(normalclasslibrary)totheSilverlightproject? NOTE:Thisisobjectivetypequestion,Pleaseclickquestiontitleforcorrectanswer. Howcanstyleelementsbeapplied?(similartoaCSSfile/skins) Styleselementsaresupportedintheformofapplicationresources.Anapp.xamlfilecanbecreated containinganapplicationresourceXmlconstruct.Thetargettypeforeachstyleissettothecontrolon whichthestyleneedstobeapplied. App.xaml: <Application.Resource> <Stylex:Key="MyBorder"TargetType="Border"> <setterproperty="width"value="5"> </style> Page.xaml: <BorderStyle="{StaticResourceMyBorder}"> ... </Border> CanyouprovidealistofLayoutManagementPanelsandwhenyouwillusethem? CanvasPanel: useacanvasforsimplelayoutsandwhenthereisnoneedtoresizepanel.Controlscanoverlappedeach otherwhenresizingthepanel. stackPanel: usethisforgroupingcontrolsinastack(horizontal/vertical).Controlsdonotoverlapped. GridPanel: