次の方法で共有


GraphConditionalStyleCollection クラス

定義

このクラスは、Style オブジェクトのコレクションを操作するためのメソッドを提供します。

public ref class GraphConditionalStyleCollection : Microsoft::VisualStudio::GraphModel::IHasGraphOwner, System::Collections::Generic::ICollection<Microsoft::VisualStudio::GraphModel::Styles::GraphConditionalStyle ^>, System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::GraphModel::Styles::GraphConditionalStyle ^>
public class GraphConditionalStyleCollection : Microsoft.VisualStudio.GraphModel.IHasGraphOwner, System.Collections.Generic.ICollection<Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle>, System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.GraphModel.Styles.GraphConditionalStyle>
type GraphConditionalStyleCollection = class
    interface ICollection<GraphConditionalStyle>
    interface seq<GraphConditionalStyle>
    interface IEnumerable
    interface IHasGraphOwner
Public Class GraphConditionalStyleCollection
Implements ICollection(Of GraphConditionalStyle), IEnumerable(Of GraphConditionalStyle), IHasGraphOwner
継承
GraphConditionalStyleCollection
実装

コンストラクター

GraphConditionalStyleCollection(Graph)

指定されたグラフの新しい styles オブジェクトを作成します。

プロパティ

Count

コレクション内のスタイルの数を返します。

Graph

このノード コレクションに関連付けられている Graph を取得します

HasPendingPropertyChangeEvents

保留中の PropertyChange イベントがある場合は true を返します。 これが true を返す場合は、RaisePendingPropertyChangeEvents メソッドを呼び出します。

IsCompiled

CompileStyles メソッドを呼び出す必要があるかどうかを確認します。

IsReadOnly

System.Collections.Generic.ICollection が読み取り専用かどうかを示す値を取得します。

Owner

このノード コレクションに関連付けられている Graph を取得します

メソッド

Add(GraphConditionalStyle)

指定したスタイルをコレクションに追加します。 指定したスタイルが別のグラフに属している場合は、そのスタイルを複製し、新しいスタイルを返します。

Clear()

スタイルの一覧をクリアします。

Compile(EventHandler<GraphErrorEventArgs>)

この Graph のスタイルで条件式をコンパイルします。

Contains(GraphConditionalStyle)

指定したスタイルがリストに既に存在する場合は true を返します。

CopyTo(GraphConditionalStyle[], Int32)

System.Collections.Generic.ICollection の要素を、特定の System.Array インデックスから始まる System.Array にコピーします。

FindStyle(String)

groupLabel で既存のスタイルを検索する

GetEnumerator()

このコレクションの型列挙子を取得します

Insert(Int32, GraphConditionalStyle)

指定したスタイルをリスト内の特定の場所に挿入します。

MergeOrInsert(GraphConditionalStyle, Int32)

同じターゲットの種類と条件を持つスタイルがまだ存在しない場合は、このスタイルを追加します。 同じターゲットの型と条件を持つものがある場合は、セッターをマージします。

RaisePendingPropertyChangeEvents(IEnumerable<GraphObject>)

コンパイル済みスタイル セット内の条件式およびプロパティ値式内のすべての参照プロパティに基づいて、発生させる必要がある PropertyChanged イベントを発生させます。

Remove(GraphConditionalStyle)

System.Collections.Generic.ICollection から特定のオブジェクトの最初の出現箇所を削除します。

明示的なインターフェイスの実装

IEnumerable.GetEnumerator()

このコレクションの列挙子を返します

拡張メソッド

EmptyIfNull<T>(IEnumerable<T>)

null でない場合は、この列挙体を返します。 null の場合は、空の列挙を返します。

適用対象