Page tree
Skip to end of metadata
Go to start of metadata

The WPF extension releases 1.0 - 1.4 are deprecated and no new development will be actioned. All new features and functionality for the support of WPF are now handled instead by the .NET XAML extension using the com.castsoftware.wpf extension ID. Please see the section of documentation entitled Existing extensions for WPF and Silverlight for more information about the .NET XAML extension and the impacts of moving to it.

Summary: This document provides information about the extension providing WPF (Windows Presentation Foundation) support for C# and VB.NET.

Description

This extension provides support for WPF (Windows Presentation Foundation). The calculation of Automated Function Points for your .NET analyses will be supplemented through the creation of new objects and links specific to the WPF framework that will link back to objects/links produced by the base .NET analyzer.

In what situation should you install this extension?

If your .NET application contains WPF (Windows Presentation Foundation) source code and you want to view these object types and their links, then you should install this extension.

What's new?

The extension is now shipped with a set of CAST Transaction Configuration Center Entry Points, specifically related to WPF. Please see CAST Transaction Configuration Center (TCC) Entry Points below for more information about this.

WPF framework support

The following WPF frameworks are supported by this extension:

Version
Supported
All versions up to 4.5(tick)

Function Point, Quality and Sizing support

This extension provides the following support:

  • Function Points (transactions): a green tick indicates that OMG Function Point counting and Transaction Risk Index are supported
  • Quality and Sizing: a green tick indicates that CAST can measure size and that a minimum set of Quality Rules exist
Function Points
(transactions)
Quality and Sizing
(tick)(tick)
A Transaction definition is automatically imported when the extension is installed. This definition will be available in the CAST Transaction Configuration Center.

CAST AIP compatibility

This Technology Plug-in is compatible with:

CAST AIP release

Supported

Technology
8.3.x(tick)C# and VB.NET
8.2.x(tick)C# and VB.NET

Supported DBMS servers

This extension is compatible with the following DBMS servers:

DBMSSupported
CSS/PostgreSQL(tick)
Oracle(tick)
Microsoft SQL Server(error)

Download and installation instructions

Include the extension using the interface in AIP Console:

There is nothing further to do. Follow the instructions below to run a new analysis/snapshot to generate new results:

What results can you expect?

Once the analysis/snapshot generation has completed, you can view the results in the normal manner. The following objects and links will be displayed in CAST Enlighten:

Objects

All objects are represented under the File browser  > Xaml Source file folders in CAST Enlighten as either WPF Custom Controls, or WPF Controls:

IconObject type
WPF Control
WPF Custom Control

Note that if the Name Attribute of an object is present, then it will be used to display that object in CAST Enlighten. For example:

Name not presentName present

The following objects are detected:

Border
BulletDecorator
Button
Calendar
Canvas
CheckBox
ComboBox
ContextMenu
DataGrid
DatePicker
DockPanel
DocumentViewer
DropShadowBitmapEffect
Expander
FlowDocumentPageViewer
FlowDocumentReader
FlowDocumentScrollViewer
Frame
Grid

GridSplitter

GroupBox
Image
Label
ListBox
ListView
Menu
Panel

PasswordBox

Popup
ProgressBar

PrintDialog

RadioButton
RepeatButton
Ribbon (WPF)
RichTextBox
ScrollBar
ScrollViewer
Separator

Slider

StackPanel
StatusBar

TabControl

TextBlock
TextBox
ToggleButton
ToolBar
ToolTip
TreeView
WrapPanel
Viewbox
SourceLink typeTargetExample
XAML ControlcallAction Event method implemented in source file

XAML ControlrelyOnSet and get accessors of Property implemented in source file
XAML ControlrelyOnXAML Control which is used
XAML Custom ControlrelyOn

XAML page that contains its definition

XAML Custom ControlrelyOnDefined Class
XAML Custom ControlAccessExecCorresponding Property
XAML Custom ControlAccessExecCorresponding Event handler function
XAML Source FilerelyOnReferred Class

Limitations

In this section we list the most significant functional limitations that may affect the analysis of applications using WPF:

  • No labels