WorkflowDesignerMessageFilter.OnPaintWorkflowAdornments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the workflow should repaint its adornments.
protected:
virtual bool OnPaintWorkflowAdornments(System::Windows::Forms::PaintEventArgs ^ eventArgs, System::Drawing::Rectangle viewPort, System::Workflow::ComponentModel::Design::AmbientTheme ^ ambientTheme);
protected virtual bool OnPaintWorkflowAdornments (System.Windows.Forms.PaintEventArgs eventArgs, System.Drawing.Rectangle viewPort, System.Workflow.ComponentModel.Design.AmbientTheme ambientTheme);
abstract member OnPaintWorkflowAdornments : System.Windows.Forms.PaintEventArgs * System.Drawing.Rectangle * System.Workflow.ComponentModel.Design.AmbientTheme -> bool
override this.OnPaintWorkflowAdornments : System.Windows.Forms.PaintEventArgs * System.Drawing.Rectangle * System.Workflow.ComponentModel.Design.AmbientTheme -> bool
Protected Overridable Function OnPaintWorkflowAdornments (eventArgs As PaintEventArgs, viewPort As Rectangle, ambientTheme As AmbientTheme) As Boolean
Parameters
- eventArgs
- PaintEventArgs
A PaintEventArgs
that contains information about the event.
- viewPort
- Rectangle
A Rectangle
that describes the area to be painted.
- ambientTheme
- AmbientTheme
An AmbientTheme
used to obtain information about the theme.
Returns
true
if the message is handled; otherwise, false
.
Remarks
OnPaintWorkflowAdornments
occurs when the workflow should repaint its adornments.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈