styles in silverlight

7
STYLES IN SILVERLIGHT Presented by SRISAKTHI

Upload: srisakthi-kannan

Post on 09-Jul-2015

324 views

Category:

Technology


1 download

DESCRIPTION

This is about styles in silverlight

TRANSCRIPT

Page 1: Styles in Silverlight

STYLES IN SILVERLIGHT

Presented by

SRISAKTHI

Page 2: Styles in Silverlight

STYLES Allows us to encapsulate control property values as

a reusable resource.

Silverlight supports only explicit styles.

Page 3: Styles in Silverlight

STYLE ELEMENT x:Key is required. Only Named Types are supported. Target Type is required.

Page 4: Styles in Silverlight

APPLYING

Applied via Style Attribute. Simple XAML example,

APPLYING STYLE

Page 5: Styles in Silverlight

CONTD.. Also supports complex xaml

Page 6: Styles in Silverlight

DIFFERENCES Style control allows us to apply to the control's

properties predefined in the style values.

Skinning allows you to build your own presentation for that control by defining control template.

Page 7: Styles in Silverlight

ThankThank youyou