StyleCollection.RemoveAt(Int32) 메서드

정의

개체에서 Style 지정된 인덱스 위치에 있는 개체를 StyleCollection 제거합니다.

public:
 void RemoveAt(int index);
public void RemoveAt(int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

매개 변수

index
Int32

제거할 개체의 Style 인덱스 위치(0부터 시작하는 위치)입니다.

설명

개체에서 RemoveAt 지정된 인덱스 Style 위치에 있는 개체를 제거하려면 이 메서드를 StyleCollection 사용합니다. 그런 다음 해당 Style 개체를 따르는 모든 항목이 위로 이동하여 빈 위치를 채웁니다. 이동된 항목의 인덱스도 업데이트됩니다.

개체에서 특정 Style 개체를 StyleCollection 제거하려면 메서드를 Remove 사용합니다. 메서드를 사용하여 Style 컬렉션의 모든 Clear 개체를 제거할 수도 있습니다.

적용 대상

추가 정보