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)

지정된 그래프에 대한 새 스타일 개체를 생성합니다.

속성

Count

컬렉션의 스타일 수를 반환합니다.

Graph

이 노드 컬렉션과 연결된 Graph를 가져옵니다.

HasPendingPropertyChangeEvents

보류 중인 PropertyChange 이벤트가 있으면 true를 반환합니다. true가 반환되면 RaisePendingPropertyChangeEvents 메서드를 호출합니다.

IsCompiled

CompileStyles 메서드를 호출해야 하는지 확인합니다.

IsReadOnly

System.Collections.Generic.ICollection이 읽기 전용인지 여부를 나타내는 값을 가져옵니다.

Owner

이 노드 컬렉션과 연결된 Graph를 가져옵니다.

메서드

Add(GraphConditionalStyle)

컬렉션에 지정된 스타일을 추가합니다. 지정된 스타일이 다른 그래프에 속하는 경우 해당 스타일을 복제하고 새 스타일을 반환합니다.

Clear()

스타일 목록을 지웁다.

Compile(EventHandler<GraphErrorEventArgs>)

이 그래프의 스타일에서 조건식을 컴파일합니다.

Contains(GraphConditionalStyle)

지정된 스타일이 이미 목록에 있으면 true를 반환합니다.

CopyTo(GraphConditionalStyle[], Int32)

특정 System.Array 인덱스에서 시작하여 System.Collections.Generic.ICollection의 요소를 System.Array에 복사합니다.

FindStyle(String)

groupLabel을 사용하여 기존 스타일 찾기

GetEnumerator()

이 컬렉션의 형식 열거자를 가져옵니다.

Insert(Int32, GraphConditionalStyle)

목록의 지정된 위치에 지정된 스타일을 삽입합니다.

MergeOrInsert(GraphConditionalStyle, Int32)

동일한 대상 형식 및 조건을 가진 스타일이 아직 없는 경우 이 스타일을 추가합니다. 대상 형식과 조건이 동일한 경우 setter를 병합합니다.

RaisePendingPropertyChangeEvents(IEnumerable<GraphObject>)

컴파일된 스타일 집합의 조건식 및 속성 값 식에서 참조된 모든 속성에 따라 발생해야 하는 PropertyChanged 이벤트를 발생합니다.

Remove(GraphConditionalStyle)

System.Collections.Generic.ICollection에서 특정 개체의 첫 번째 항목을 제거합니다.

명시적 인터페이스 구현

IEnumerable.GetEnumerator()

이 컬렉션의 열거자를 반환합니다.

확장 메서드

EmptyIfNull<T>(IEnumerable<T>)

null이 아닌 경우 이 열거형을 반환합니다. null이면 빈 열거형을 반환합니다.

적용 대상