C# 클래스 Caliburn.Micro.View

Hosts attached properties related to view models.
파일 보기 프로젝트 열기: Caliburn-Micro/Caliburn.Micro

공개 프로퍼티들

프로퍼티 타입 설명
ApplyConventionsProperty global::Xamarin.Forms.BindableProperty
ContextProperty global::Xamarin.Forms.BindableProperty
GetFirstNonGeneratedView object>.Func
IsGeneratedProperty global::Xamarin.Forms.BindableProperty
IsLoadedProperty global::Xamarin.Forms.BindableProperty
IsScopeRootProperty global::Xamarin.Forms.BindableProperty
ModelProperty global::Xamarin.Forms.BindableProperty

공개 메소드들

메소드 설명
ExecuteOnLayoutUpdated ( global::Xamarin.Forms.VisualElement element, EventHandler handler ) : void
ExecuteOnLayoutUpdated ( global::Xamarin.Forms.VisualElement element, EventHandler handler ) : void

Executes the handler the next time the elements's LayoutUpdated event fires.

ExecuteOnLoad ( global::Xamarin.Forms.VisualElement element, RoutedEventHandler handler ) : bool

Executes the handler immediately if the element is loaded, otherwise wires it to the Loaded event.

ExecuteOnUnload ( global::Xamarin.Forms.VisualElement element, RoutedEventHandler handler ) : void

Executes the handler when the element is unloaded.

GetApplyConventions ( global::Xamarin.Forms.BindableObject d ) : bool?

Gets the convention application behavior.

GetContext ( global::Xamarin.Forms.BindableObject d ) : object

Gets the context.

GetModel ( global::Xamarin.Forms.BindableObject d ) : object

Gets the model.

IsElementLoaded ( global::Xamarin.Forms.VisualElement element ) : bool

Determines whether the specified element is loaded.

SetApplyConventions ( global::Xamarin.Forms.BindableObject d, bool value ) : void

Sets the convention application behavior.

SetContext ( global::Xamarin.Forms.BindableObject d, object value ) : void

Sets the context.

SetModel ( global::Xamarin.Forms.BindableObject d, object value ) : void

Sets the model.

비공개 메소드들

메소드 설명
GetContentPropertyName ( Type type ) : string
OnContextChanged ( global::Xamarin.Forms.BindableObject targetLocation, DependencyPropertyChangedEventArgs e ) : void
OnModelChanged ( global::Xamarin.Forms.BindableObject targetLocation, DependencyPropertyChangedEventArgs args ) : void
SetContentProperty ( object targetLocation, object view ) : bool
SetContentPropertyCore ( object targetLocation, object view ) : bool

메소드 상세

ExecuteOnLayoutUpdated() 공개 정적인 메소드

public static ExecuteOnLayoutUpdated ( global::Xamarin.Forms.VisualElement element, EventHandler handler ) : void
element global::Xamarin.Forms.VisualElement
handler EventHandler
리턴 void

ExecuteOnLayoutUpdated() 공개 정적인 메소드

Executes the handler the next time the elements's LayoutUpdated event fires.
public static ExecuteOnLayoutUpdated ( global::Xamarin.Forms.VisualElement element, EventHandler handler ) : void
element global::Xamarin.Forms.VisualElement The element.
handler EventHandler The handler.
리턴 void

ExecuteOnLoad() 공개 정적인 메소드

Executes the handler immediately if the element is loaded, otherwise wires it to the Loaded event.
public static ExecuteOnLoad ( global::Xamarin.Forms.VisualElement element, RoutedEventHandler handler ) : bool
element global::Xamarin.Forms.VisualElement The element.
handler RoutedEventHandler The handler.
리턴 bool

ExecuteOnUnload() 공개 정적인 메소드

Executes the handler when the element is unloaded.
public static ExecuteOnUnload ( global::Xamarin.Forms.VisualElement element, RoutedEventHandler handler ) : void
element global::Xamarin.Forms.VisualElement The element.
handler RoutedEventHandler The handler.
리턴 void

GetApplyConventions() 공개 정적인 메소드

Gets the convention application behavior.
public static GetApplyConventions ( global::Xamarin.Forms.BindableObject d ) : bool?
d global::Xamarin.Forms.BindableObject The element the property is attached to.
리턴 bool?

GetContext() 공개 정적인 메소드

Gets the context.
public static GetContext ( global::Xamarin.Forms.BindableObject d ) : object
d global::Xamarin.Forms.BindableObject The element the context is attached to.
리턴 object

GetModel() 공개 정적인 메소드

Gets the model.
public static GetModel ( global::Xamarin.Forms.BindableObject d ) : object
d global::Xamarin.Forms.BindableObject The element the model is attached to.
리턴 object

IsElementLoaded() 공개 정적인 메소드

Determines whether the specified element is loaded.
public static IsElementLoaded ( global::Xamarin.Forms.VisualElement element ) : bool
element global::Xamarin.Forms.VisualElement The element.
리턴 bool

SetApplyConventions() 공개 정적인 메소드

Sets the convention application behavior.
public static SetApplyConventions ( global::Xamarin.Forms.BindableObject d, bool value ) : void
d global::Xamarin.Forms.BindableObject The element to attach the property to.
value bool Whether or not to apply conventions.
리턴 void

SetContext() 공개 정적인 메소드

Sets the context.
public static SetContext ( global::Xamarin.Forms.BindableObject d, object value ) : void
d global::Xamarin.Forms.BindableObject The element to attach the context to.
value object The context.
리턴 void

SetModel() 공개 정적인 메소드

Sets the model.
public static SetModel ( global::Xamarin.Forms.BindableObject d, object value ) : void
d global::Xamarin.Forms.BindableObject The element to attach the model to.
value object The model.
리턴 void

프로퍼티 상세

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

A dependency property which allows the override of convention application behavior.
public static BindableProperty,global::Xamarin.Forms ApplyConventionsProperty
리턴 global::Xamarin.Forms.BindableProperty

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

A dependency property for assigning a context to a particular portion of the UI.
public static BindableProperty,global::Xamarin.Forms ContextProperty
리턴 global::Xamarin.Forms.BindableProperty

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

Used to retrieve the root, non-framework-created view.
In certain instances the services create UI elements. For example, if you ask the window manager to show a UserControl as a dialog, it creates a window to host the UserControl in. The WindowManager marks that element as a framework-created element so that it can determine what it created vs. what was intended by the developer. Calling GetFirstNonGeneratedView allows the framework to discover what the original element was.
public static Func GetFirstNonGeneratedView
리턴 object>.Func

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

Used by the framework to indicate that this element was generated.
public static BindableProperty,global::Xamarin.Forms IsGeneratedProperty
리턴 global::Xamarin.Forms.BindableProperty

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

A dependency property which allows the framework to track whether a certain element has already been loaded in certain scenarios.
public static BindableProperty,global::Xamarin.Forms IsLoadedProperty
리턴 global::Xamarin.Forms.BindableProperty

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

A dependency property which marks an element as a name scope root.
public static BindableProperty,global::Xamarin.Forms IsScopeRootProperty
리턴 global::Xamarin.Forms.BindableProperty

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

A dependency property for attaching a model to the UI.
public static BindableProperty,global::Xamarin.Forms ModelProperty
리턴 global::Xamarin.Forms.BindableProperty