MIX 09 9/12/2018 8:06 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.

Slides:



Advertisements
Similar presentations
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advertisements

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Identity Management - Login © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Feature: Reprint Outstanding Transactions Report © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Purchase Requisitions - Requester © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
demo Default WANGPSLookup Default WANGPS.
Scenario Fixed look with some logic Split large page into smaller chunks Reuse xaml/logic in multiple places Platform Support … … public partial.
Interactivity Navigating a data model Working with large quantities of data Entry Editing and adding data User feedback and validation Presentation.
Co- location Mass Market Managed Hosting ISV Hosting.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Multitenant Model Request/Response General Model.
demo.
Feature: Purchase Order Prepayments II © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Announcing Demo Announcing.
Feature: OLE Notes Migration Utility
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: SmartList Usability Enhancements © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Connect with life Connect with life
demo Receive Inventory Export Parse and Normalize.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Feature: Suggested Item Enhancements – Sales Script and Additional Information © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows.
Feature: Customer Combiner and Modifier © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Feature: Employee Self Service Timecard Entry © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
demo Instance AInstance B Read “7” Write “8”

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
1 Catching up on Rich Clients (round 1) Mike Ormond, Mike Taulty Developer & Platform Group Microsoft Ltd
demo Demo.
Feature: Void Historical/Open Transaction Updates © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
The CLR CoreCLRCoreCLR © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

Возможности Excel 2010, о которых следует знать
Title of Presentation 11/22/2018 3:34 PM
MIX 09 11/24/2018 9:18 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Baseline: How Are We Doing Now?
11/27/2018 7:24 PM Тренинг Введение в разработку приложений на Windows Presentation Foundation Занятие 5 Элементы управления Роман Здебский
XAML Deep Dive for Windows & Windows Phone Apps Jump Start
Title of Presentation 12/2/2018 3:48 PM
MIX 09 12/8/2018 4:33 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Sascha P. Corti Developer Evangelist Microsoft Switzerland sascha
DEV312 基于WPF的数据绑定.
Silverlight Debugging
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
PENSACOLA ENERGY WORK PLAN OCTOBER 10, 2016
Title of Presentation 5/12/ :53 PM
Шитманов Дархан Қаражанұлы Тарих пәнінің
Title of Presentation 5/24/2019 1:26 PM
5/24/2019 6:44 PM 1/8/18 Bell #10 In a world governed by the gods, is there any room for human will? Do human choices make a difference? EXPLAIN © 2007.
日本初公開!? Vista の新機能を実演 とっちゃん わんくま同盟 7/23/2019 9:09 AM
Title of Presentation 7/24/2019 8:53 PM
Presentation transcript:

MIX 09 9/12/2018 8:06 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Building Microsoft Silverlight Controls 9/12/2018 8:06 AM Building Microsoft Silverlight Controls Karen Corby Lead Program Manager Silverlight http://scorbs.com/work © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

“One major difference between a site with a strong Brand Image “One major difference between a site with a strong Brand Image ... and one with weak Brand Image ... is that brand positioning permeates every part of a strong site ...” - Forrester, June 9, 2005

On The Menu Styling Skinning Data Binding Layout

Customizing Control Visuals Styling Customizing Control Visuals “Property Bag” Styling <Style> element Works with Controls, UserControls, Shapes, Panels Styling Skinning

demo Styling

demo Styling

New Styling Features BasedOn Styles Merged Resource Dictionaries Extend existing styles Merged Resource Dictionaries Breakout RDs into different files

Customizing Control Visuals Skinning Completely replace visuals <ControlTemplate> element {TemplateBinding} extension Works with Custom Controls (not UserControls, Panels, Shapes) Styling Skinning

Defining the Control Contract Custom Controls I wonder what I need to put in my template… I need a Thumb, Pressed state etc.. I’ve got your Thumb, Pressed state, etc.. Control Logic Control Visuals Control.cs <ControlTemplate>

Parts And States Model Goals Recommended pattern Make it easy to skin your control Defined separation between logic & visuals Explicit control contract Recommended pattern Not enforced by runtime Supported by Blend

Parts Named element (x:Name) in template Code manipulates element in some way Not all Control Contracts have Parts DownRepeatButton Thumb UpRepeatButton Track

States Visual look of control in a particular state <VisualState> element Not all Control Contracts have States MouseOver Pressed

Transitions Visual look as control goes between states <VisualTransition> element VisualTransition MouseOver Pressed

State Group Set of mutually exclusive states Different state groups are orthogonal <VisualStateGroup> element Normal MouseOver CommonStates ReadOnly Disabled Valid InvalidUnfocused ValidationStates ValidUnfocused Unfocused FocusStates Focused

Replacing TextBox’s ControlTemplate demo Skinning Replacing TextBox’s ControlTemplate

Using States & Transitions VisualStateManager.VisualStateGroups Attached property on root visual of ControlTemplate VisualStateGroup Contains group of related states VisualState class Contains storyboard that represents visual look VisualTransition class Contains duration for automatic transition animations Contains storyboard for explicit transition animation Default, or “To/From” transiitions GeneratedEasingFunction coming SL3 Post-Beta

Validation State Transition New Value <VisualState/> in ControlTemplate TextBox.Text={Binding} Binding Engine Validation.Errors New Value Validation State Transition Exception DataObject Setter

Validation & Bindings NotifyOnValidationErrors ValidatesOnExceptions Binding flags. Initiate validations. UpdateSourceTrigger New Binding flag. Enable explicit update. BindingExpression.UpdateSource() Manually update associated Binding.

Bindings RelativeSource Binding DependencyProperty as Sources Self & TemplatedParent as source Power of full binding in Templates Attached DP sources, converters, two-way, etc DependencyProperty as Sources Update based on DP changes. 

Validation UI "Out of Box" TextBox CheckBox RadioButton ComboBox ListBox PasswordBox (post-Beta)

demo Skinning in Blend TextBox

Binding & Styles ElementName Binding Change Style at runtime “UI to UI Binding” FrameworkElement can be binding Source Change Style at runtime Remove “write once” Style limitation

Silverlight Styling vs WPF Styling Implicit Styles See Toolkit talk Dynamic Resources Triggers Blend’s Behaviors

Creating Custom Controls Control Logic Control Visuals Control.cs <ControlTemplate>

RatingControl

StarControl RatingControl demo StarControl RatingControl

Building a New Custom Control Control subclass “Look-less” by default generic.xaml ResourceDictionary with Built-in Style DefaultStyleKey Used to determine which built-in style to use

Creating The Control Class Logic [TemplatePart] & [TemplateVisualState] NOT used by runtime. Leveraged by tools. public static VisualStateManager.GoToState() Manages visual state change logic & transitions

Silverlight & WPF Skinning Same Model VisualStateManager in WPF Toolkit See WPF/SL Talk

Layout Custom Panels Two pass algorithms Measure Arrange

Layout: Measure Layout: How much space do you think you need? Panel: Let me ask my children… Brb OK, I asked each of them. OMG - I need 1000 x 800 Gotcha. 1000 x 800. ttys 

Layout: Arrange Layout: OK – Got the space for ya. Arrange yourself in here. Panel: Will do. Let me go arrange all my children. One sec. OK, I gave them each some space at a specific X,Y. BTW, here’s the space I actually ended up using. Sweet. See you at the tables later? LOL!

Using Our Controls with Layout demo Putting it Together Using Our Controls with Layout

Power of the Siverlight Control Model Styling Skinning DataBinding Layout A true branded experience permeates every aspect of you site.

Resources Wishpot APIs: Silverlight My blog (will post video & source) http://scorbs.com/work Wishpot APIs: http://www.wishpot.com/help/developers.aspx Silverlight http://silverlight.net