검색결과 리스트
2010/04/27 에 해당되는 글 3건
- 2010.04.27 WPF Application Quality Guide 입니다.
- 2010.04.27 WPF 4.0 달라진 내용들을 요약해 봅니다.
- 2010.04.27 Touch Application 제작을 위한 첫 번째 가이드
WPF와 관련해서 품질을 향상시키는데 도움이 되는 내용들로 잘 정리되어 있습니다.
소프트웨어의 품질을 향상시키는는 가장 쉬우면서도 어려운 방법은 바로 Test입니다. 제대로 된 테스트 시나리오를 가지고 있는 국내 기업도 거의 없을 만큼 Test는 쉬면서도 어렵습니다. WPF나 혹은 Silverlight와 같은 UI 기술의 경우는 더더욱 Test가 쉽지 않은 편입니다.
위의 가이드에서는 WPF에서 각종 Test를 자동화 시키고 프로세스화 시키는데 도움이 될만한 내용이 잘 정리되어 있습니다.
개발자를 위한 IT블로그 영욱닷컴(http://www.YoungWook.com)
New Controls
Visual State Manager
Touch and Manipulation
Graphics and Animations
Text
Binding
XAML Browser Applications
WPF and Windows
WPF and Silverlight Designer
New Controls
DataGrid
Calendar
DatePicker
몇가지 그래픽과 애니메이션과 관련된 변화들 입니다.
-
Layout Rounding
When an object edge falls in the middle of a pixel device, the DPI-independent graphics system can create rendering artifacts, such as blurry or semi-transparent edges. Previous versions of WPF included pixel snapping to help handle this case. Silverlight 2 introduced layout rounding, which is another way to move elements so that edges fall on whole pixel boundaries. WPF now supports layout rounding with the UseLayoutRounding attached property on FrameworkElement.
-
Cached Composition
By using the new BitmapCache and BitmapCacheBrush classes, you can cache a complex part of the visual tree as a bitmap and greatly improve rendering time. The bitmap remains responsive to user input, such as mouse clicks, and you can paint it onto other elements just like any brush.
-
Pixel Shader 3 Support
WPF 4 builds on top of the ShaderEffect support introduced in WPF 3.5 SP1 by allowing applications to now write effects by using Pixel Shader (PS) version 3.0. The PS 3.0 shader model is more sophisticated than PS 2.0, which allows for even more effects on supported hardware.
-
Easing Functions
You can enhance animations with easing functions, which give you additional control over the behavior of animations. For example, you can apply an ElasticEase to an animation to give the animation a springy behavior. For more information, see the easing types in the System.Windows.Media.Animation namespace.
-
New Text Rendering Stack
The WPF text rendering stack has been completely replaced. This change brings improvements to text rendering configurability, clarity, and support for international languages. The new text stack now supports explicitly selecting aliased, grayscale, or ClearType rendering modes. The text stack now supports display-optimized character layout, to produce text with sharpness comparable to Win32/GDI text. The new text stack allows optimizing text hinting and snapping for either animated or static text. The new text stack also supports fonts with embedded bitmaps to be substituted for smaller font sizes, allowing many East Asian fonts to render with sharpness comparable to Win32/GDI text.
-
Selection and Caret Customization
You can now specify the brush that paints the selection and caret for input and reading controls, such as TextBoxRichTextBox, and FlowDocumentReader. There are two new properties on TextBoxBase:
-
SelectionBrush allows you to create a brush for highlighting selected text.
-
CaretBrush allows you to change the brush that paints the cursor.
-
-
Bind to commands on InputBinding.
You can bind the Command property of an InputBinding class to an instance that is defined in code. The following properties are dependency properties, so that they can be targets of bindings:
The InputBinding, MouseBinding, and KeyBinding classes receive data context from the owning FrameworkElement.
-
Bind to Dynamic Objects
WPF supports data binding to objects that implement IDynamicMetaObjectProvider. For example, if you create a dynamic object that inherits from DynamicObject in code, you can use markup extension to bind to the object in XAML. For more information, see the Binding Sources Overview.
-
Bindable Text Run
Run.Text is now a dependency property. The main advantage is that it now supports one-way bindings. It also supports other features of dependency properties, such as styling and templating.
Two features have been added to XAML browser applications (XBAPs).
-
HTML-XBAP Script Interop
You can now communicate with the Web page containing the XBAP when the application is hosted in a HTML frame. The XBAP can get deep access to the HTML DOM and can handle DOM events. For more information see BrowserInteropHelper.HostScript.
-
Full-Trust XBAP Deployment
If your XBAP requires full trust, the user will now automatically receive the standard ClickOnce elevation prompt when they install the application from the intranet or one of their browser's trusted sites.
For more information on both these features, see WPF XAML Browser Applications Overview.
The Windows 7 taskbar provides enhanced functionality that enables you to use the taskbar button to communicate status to a user and expose common tasks. New types in the System.Windows.Shell namespace provide managed wrappers for functionality in the Windows 7 taskbar and manages the data passed to the Windows shell. For example, the JumpList type allows you to work with Jump Lists and the TaskbarItemInfo type allows you to work with taskbar thumbnails.
WPF dialog boxes on Windows 7 and Windows Vista now support the look and feel of the Windows 7 and Windows Vista style, which includes custom places. For more information, see the FileDialogCustomPlace class.
자세한 내용은 http://msdn.microsoft.com/library/bb613588.aspx 를 참조해 보시기 바랍니다.
개발자를 위한 IT블로그 영욱닷컴(http://www.YoungWook.com)
댓글을 달아 주세요
WPF 기반으로 Touch Application을 제작할 수 있는 방법을 소개하고 있습니다. 총 6단계만 따라하면 되는데 기본적으로는 Windows 7 기반에 Visual Studio 2010으로 작업하는 것을 전재로 하고 있습니다.
개발자를 위한 IT블로그 영욱닷컴(http://www.YoungWook.com)
댓글을 달아 주세요