WorkflowTheme Classe

Definição

Cuidado

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Fornece as configurações de propriedades de aparência para um fluxo de trabalho no ambiente em tempo de design.Provides the look and feel property settings to a workflow in design-time environment.

public ref class WorkflowTheme sealed : IDisposable
public sealed class WorkflowTheme : IDisposable
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowTheme : IDisposable
type WorkflowTheme = class
    interface IDisposable
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowTheme = class
    interface IDisposable
Public NotInheritable Class WorkflowTheme
Implements IDisposable
Herança
WorkflowTheme
Atributos
Implementações

Comentários

Observação

Este material discute tipos e namespaces obsoletos.This material discusses types and namespaces that are obsolete. Para obter mais informações, consulte Deprecated Types in Windows Workflow Foundation 4.5 (Tipos preteridos no Windows Workflow Foundation 4.5).For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Os temas de fluxo de trabalho definem a aparência de uma superfície de design de fluxo de trabalho.Workflow themes define the look and feel of a workflow design surface. Isso inclui estilos de plano de fundo, estilos de primeiro plano, fontes e ícones definidos para o fluxo de trabalho.This includes background styles, foreground styles, fonts, and icons defined for the workflow.

Um WorkflowTheme é um tema definido para um fluxo de trabalho específico.A WorkflowTheme is a theme defined for a specific workflow. A AmbientTheme classe pode ser usada para propriedades padrão se um tema de fluxo de trabalho específico não for desejado.The AmbientTheme class can be used for default properties if a specific workflow theme is not desired.

Construtores

WorkflowTheme()

Inicializa uma nova instância da classe WorkflowTheme.Initializes a new instance of the WorkflowTheme class.

Propriedades

AmbientTheme

Obtém o AmbientTheme associado ao WorkflowTheme.Gets the AmbientTheme associated with the WorkflowTheme.

ContainingFileDirectory

Obtém a parte do diretório do FilePath.Gets the directory part of the FilePath.

CurrentTheme

Obtém ou define o tema atual.Gets or sets the current theme.

Description

Obtém ou define a descrição do tema.Gets or sets the description of the theme.

DesignerThemes

Obtém uma lista de temas de designer associado ao fluxo de trabalho.Gets a list of designer themes associated with the workflow.

EnableChangeNotification

Obtém ou define um valor que indica se é preciso habilitar a notificação de alteração.Gets or sets a value that indicates whether to enable change notification.

FilePath

Obtém ou define o caminho do arquivo para o tema.Gets or sets the file path for the theme.

LookupPath

Obtém o caminho do arquivo do registro.Gets the file path from the registry.

Name

Obtém ou define o nome do tema.Gets or sets the name of the theme.

ReadOnly

Obtém ou define um valor que indica se o tema de fluxo de trabalho é somente leitura.Gets or sets a value that indicates whether the workflow theme is read-only.

RegistryKeyPath

Obtém o caminho da chave do Registro para o tema.Gets the registry key path for the theme.

StandardThemes

Obtém a lista de temas padrão.Gets the list of standard themes.

Type

Obtém o tipo do tema.Gets the type of the theme.

Version

Obtém ou define a versão do tema.Gets or sets the version of the theme.

Métodos

Clone()

Cria um tema duplicado.Creates a duplicate theme.

CreateStandardTheme(ThemeType)

Cria um tema padrão.Creates a standard theme.

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
Finalize()

Quando substituído em uma classe derivada, permite que um objeto limpe todos os recursos de forma determinística.When overridden in a derived class, allows an object to clean up any resources deterministically.

GenerateThemeFilePath()

Gera um caminho de arquivo para o tema.Generates a file path for the theme.

GetDesignerTheme(ActivityDesigner)

Obtém o tema para o ActivityDesigner especificado.Gets the theme for the specified ActivityDesigner.

GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
Load(IDesignerSerializationManager, String)

Carrega um novo tema do caminho especificado usando o gerenciador de serialização.Loads a new theme from the specified path using a serialization manager.

Load(String)

Carrega o tema do caminho de arquivo especificado.Loads the theme from the specified file path.

LoadThemeSettingFromRegistry()

Carrega um tema do registro.Loads a theme from the registry.

MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
Save(String)

Salva um tema em um arquivo.Saves a theme to a file.

SaveThemeSettingToRegistry()

Salva um tema no registro.Saves a theme to the registry.

ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Eventos

ThemeChanged

Ocorre quando um tema muda.Occurs when a theme changes.

Implantações explícitas de interface

IDisposable.Dispose()

Libera os recursos gerenciados usados pelo WorkflowTheme.Releases the managed resources used by the WorkflowTheme.

Aplica-se a