styles in silverlight

Post on 09-Jul-2015

324 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

This is about styles in silverlight

TRANSCRIPT

STYLES IN SILVERLIGHT

Presented by

SRISAKTHI

STYLES Allows us to encapsulate control property values as

a reusable resource.

Silverlight supports only explicit styles.

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

APPLYING

Applied via Style Attribute. Simple XAML example,

APPLYING STYLE

CONTD.. Also supports complex xaml

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.

ThankThank youyou

top related