C# 클래스 RedBadger.Xpf.UIElement

상속: ReactiveObject, IElement
파일 보기 프로젝트 열기: redbadger/XPF

공개 프로퍼티들

프로퍼티 타입 설명
DataContextProperty ReactiveProperty
HeightProperty ReactiveProperty
HorizontalAlignmentProperty ReactiveProperty
IsMouseCapturedProperty ReactiveProperty
MarginProperty ReactiveProperty
MaxHeightProperty ReactiveProperty
MaxWidthProperty ReactiveProperty
MinHeightProperty ReactiveProperty
MinWidthProperty ReactiveProperty
VerticalAlignmentProperty ReactiveProperty
WidthProperty ReactiveProperty

공개 메소드들

메소드 설명
Arrange ( Rect finalRect ) : void
CaptureMouse ( ) : bool
GetVisualChildren ( ) : IEnumerable
HitTest ( System.Point point ) : bool
InvalidateArrange ( ) : void
InvalidateMeasure ( ) : void
Measure ( Size availableSize ) : void
OnApplyTemplate ( ) : void
ReleaseMouseCapture ( ) : void
TryGetRenderer ( IRenderer &renderer ) : bool
TryGetRootElement ( IRootElement &rootElement ) : bool

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

When overridden in a derived class, positions child elements and determines a size for a UIElement derived class.

GetClippingRect ( Size finalSize ) : Rect
MeasureOverride ( Size availableSize ) : Size

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the UIElement-derived class.

OnNextGesture ( Gesture gesture ) : void
OnRender ( IDrawingContext drawingContext ) : void
UIElement ( ) : System

비공개 메소드들

메소드 설명
ArrangeCore ( Rect finalRect ) : void

Defines the template for core-level arrange layout definition.

In WPF this method is defined on UIElement as protected virtual and has a base implementation. FrameworkElement (which derrives from UIElement) creates a sealed implemention, similar to the below, which discards UIElement's base implementation.

ComputeAlignmentOffset ( Size clientSize, Size inkSize ) : Vector
DataContextChanged ( IReactiveObject source, ReactivePropertyChangeEventArgs args ) : void
GetNearestDataContext ( ) : object
InvalidateMeasureOnDataContextInheritors ( ) : void
MeasureCore ( Size availableSize ) : Size

Implements basic measure-pass layout system behavior.

In WPF this method is definded on UIElement as protected virtual and returns an empty Size. FrameworkElement (which derrives from UIElement) then creates a sealed implementation similar to the below. In XPF UIElement and FrameworkElement have been collapsed into a single class.

메소드 상세

Arrange() 공개 메소드

public Arrange ( Rect finalRect ) : void
finalRect Rect
리턴 void

ArrangeOverride() 보호된 메소드

When overridden in a derived class, positions child elements and determines a size for a UIElement derived class.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize Size The final area within the parent that this element should use to arrange itself and its children.
리턴 Size

CaptureMouse() 공개 메소드

public CaptureMouse ( ) : bool
리턴 bool

GetClippingRect() 보호된 메소드

protected GetClippingRect ( Size finalSize ) : Rect
finalSize Size
리턴 Rect

GetVisualChildren() 공개 메소드

public GetVisualChildren ( ) : IEnumerable
리턴 IEnumerable

HitTest() 공개 메소드

public HitTest ( System.Point point ) : bool
point System.Point
리턴 bool

InvalidateArrange() 공개 메소드

public InvalidateArrange ( ) : void
리턴 void

InvalidateMeasure() 공개 메소드

public InvalidateMeasure ( ) : void
리턴 void

Measure() 공개 메소드

public Measure ( Size availableSize ) : void
availableSize Size
리턴 void

MeasureOverride() 보호된 메소드

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the UIElement-derived class.
protected MeasureOverride ( Size availableSize ) : Size
availableSize Size /// The available size that this element can give to child elements. /// Infinity can be specified as a value to indicate that the element will size to whatever content is available. ///
리턴 Size

OnApplyTemplate() 공개 메소드

public OnApplyTemplate ( ) : void
리턴 void

OnNextGesture() 보호된 메소드

protected OnNextGesture ( Gesture gesture ) : void
gesture RedBadger.Xpf.Input.Gesture
리턴 void

OnRender() 보호된 메소드

protected OnRender ( IDrawingContext drawingContext ) : void
drawingContext IDrawingContext
리턴 void

ReleaseMouseCapture() 공개 메소드

public ReleaseMouseCapture ( ) : void
리턴 void

TryGetRenderer() 공개 메소드

public TryGetRenderer ( IRenderer &renderer ) : bool
renderer IRenderer
리턴 bool

TryGetRootElement() 공개 메소드

public TryGetRootElement ( IRootElement &rootElement ) : bool
rootElement IRootElement
리턴 bool

UIElement() 보호된 메소드

protected UIElement ( ) : System
리턴 System

프로퍼티 상세

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

public static ReactiveProperty DataContextProperty
리턴 ReactiveProperty

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

public static ReactiveProperty HeightProperty
리턴 ReactiveProperty

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

public static ReactiveProperty HorizontalAlignmentProperty
리턴 ReactiveProperty

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

public static ReactiveProperty IsMouseCapturedProperty
리턴 ReactiveProperty

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

public static ReactiveProperty MarginProperty
리턴 ReactiveProperty

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

public static ReactiveProperty MaxHeightProperty
리턴 ReactiveProperty

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

public static ReactiveProperty MaxWidthProperty
리턴 ReactiveProperty

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

public static ReactiveProperty MinHeightProperty
리턴 ReactiveProperty

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

public static ReactiveProperty MinWidthProperty
리턴 ReactiveProperty

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

public static ReactiveProperty VerticalAlignmentProperty
리턴 ReactiveProperty

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

public static ReactiveProperty WidthProperty
리턴 ReactiveProperty