C# 클래스 NSwagStudio.Controls.TabContent

Attached properties for persistent tab control
By default WPF TabControl bound to an ItemsSource destroys visual state of invisible tabs. Set ikriv:TabContent.IsCached="True" to preserve visual state of each tab.
파일 보기 프로젝트 열기: NSwag/NSwag 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
InternalContentManagerProperty System.Windows.DependencyProperty
IsCachedProperty System.Windows.DependencyProperty
TemplateProperty System.Windows.DependencyProperty
TemplateSelectorProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
GetIsCached ( DependencyObject obj ) : bool
GetTemplate ( DependencyObject obj ) : System.Windows.DataTemplate
GetTemplateSelector ( DependencyObject obj ) : System.Windows.Controls.DataTemplateSelector
SetIsCached ( DependencyObject obj, bool value ) : void
SetTemplate ( DependencyObject obj, System.Windows.DataTemplate value ) : void
SetTemplateSelector ( DependencyObject obj, System.Windows.Controls.DataTemplateSelector value ) : void

비공개 메소드들

메소드 설명
CreateContentTemplate ( ) : System.Windows.DataTemplate
EnsureContentTemplateIsNotModified ( System.Windows.Controls.TabControl tabControl ) : void
EnsureContentTemplateIsNull ( System.Windows.Controls.TabControl tabControl ) : void
GetContentManager ( System.Windows.Controls.TabControl tabControl, System.Windows.Controls.Decorator container ) : ContentManager
GetInternalCachedContent ( DependencyObject obj ) : ContentControl
GetInternalContentManager ( DependencyObject obj ) : object
GetInternalTabControl ( DependencyObject obj ) : System.Windows.Controls.TabControl
OnInternalTabControlChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
OnIsCachedChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs args ) : void
SetInternalCachedContent ( DependencyObject obj, ContentControl value ) : void
SetInternalContentManager ( DependencyObject obj, object value ) : void
SetInternalTabControl ( DependencyObject obj, System.Windows.Controls.TabControl value ) : void

메소드 상세

GetIsCached() 공개 정적인 메소드

public static GetIsCached ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
리턴 bool

GetTemplate() 공개 정적인 메소드

public static GetTemplate ( DependencyObject obj ) : System.Windows.DataTemplate
obj System.Windows.DependencyObject
리턴 System.Windows.DataTemplate

GetTemplateSelector() 공개 정적인 메소드

public static GetTemplateSelector ( DependencyObject obj ) : System.Windows.Controls.DataTemplateSelector
obj System.Windows.DependencyObject
리턴 System.Windows.Controls.DataTemplateSelector

SetIsCached() 공개 정적인 메소드

public static SetIsCached ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
리턴 void

SetTemplate() 공개 정적인 메소드

public static SetTemplate ( DependencyObject obj, System.Windows.DataTemplate value ) : void
obj System.Windows.DependencyObject
value System.Windows.DataTemplate
리턴 void

SetTemplateSelector() 공개 정적인 메소드

public static SetTemplateSelector ( DependencyObject obj, System.Windows.Controls.DataTemplateSelector value ) : void
obj System.Windows.DependencyObject
value System.Windows.Controls.DataTemplateSelector
리턴 void

프로퍼티 상세

InternalContentManagerProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows InternalContentManagerProperty
리턴 System.Windows.DependencyProperty

IsCachedProperty 공개적으로 정적으로 프로퍼티

Controls whether tab content is cached or not
When TabContent.IsCached is true, visual state of each tab is preserved (cached), even when the tab is hidden
public static DependencyProperty,System.Windows IsCachedProperty
리턴 System.Windows.DependencyProperty

TemplateProperty 공개적으로 정적으로 프로퍼티

Used instead of TabControl.ContentTemplate for cached tabs
public static DependencyProperty,System.Windows TemplateProperty
리턴 System.Windows.DependencyProperty

TemplateSelectorProperty 공개적으로 정적으로 프로퍼티

Used instead of TabControl.ContentTemplateSelector for cached tabs
public static DependencyProperty,System.Windows TemplateSelectorProperty
리턴 System.Windows.DependencyProperty