はじめてのオートメーションをわずか数分で作成できます。Studio Web を試す →
作成者: Internal Labs
0
アクティビティ
20.9k
要約
要約
Custom activity that accepts XAML mark-up for WPF forms and intialization data for the form. Launches the form on the screen, where the user can complete it.
概要
概要
Objectives:
Technical Approach:
All objectives above are achieved by leveraging the features of the Windows Presentation Foundation framework. This way, we can receive as input a custom XAML (or Json) mark-up from which we can generate a Form that we can further initialize with whatever data the developer passes to our custom activity.
This means that, inside our forms, we can use any type of UI element (also called controls) that we could normally use in a standard WPF form. Since the WPF library is quite extensive and provides plenty of controls and configuration options, we can make sure that the users of this custom activity are provided with all the flexibility and customization possibilities they need.
Basically, the custom activity is designed to receive a XAML file with a Grid control as its parent element which will contain all the controls of our current page. This mark-up is passed to a WPF window and the form gets launched. The developer can optionally pass a XAML file which contains a ResourceDictionary control. This control can contain styles which will be applied to the entire form.
In order to enhance the number of possible elements in our forms, we also include the Extended WPF Toolkit in this package. Therefore, all controls in this library can be used in our forms.
This package provides some minimal visual enhancements in addition to the standard WPF look. This is done by using the MetroLight theme.
For more details, please see the attached documentation.
More information about this approach can be found here:
機能
機能
This is an ideal activity for situations in which you want a highly customizable form with various types of controls and customizable style.
その他の情報
その他の情報
依存関係
https://learn.microsoft.com/en-us/dotnet/desktop/wpf/?view=netdesktop-7.0 https://www.nuget.org/packages/Infragistics.Themes.MetroLight.Wpf/ https://github.com/xceedsoftware/wpftoolkit
コード言語
C#, Visual Basic
ランタイム
Windows レガシ (.Net Framework 4.6.1)