Table of Contents

DevelopmentBuildAdorner 类

命名空间
ClassIsland.Core.Controls
程序集
ClassIsland.Core.dll

开发构建装饰层

public class DevelopmentBuildAdorner : Adorner, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
继承
DevelopmentBuildAdorner
实现
继承成员

构造函数

DevelopmentBuildAdorner(UIElement, bool, bool)

public DevelopmentBuildAdorner(UIElement adornedElement, bool isDevelopmentBuild, bool showOssWatermark)

参数

adornedElement UIElement
isDevelopmentBuild bool
showOssWatermark bool

属性

IsDevelopmentBuild

是否是开发构建

public bool IsDevelopmentBuild { get; }

属性值

bool

ShowOssWatermark

是否显示开源水印

public bool ShowOssWatermark { get; }

属性值

bool

VisualChildrenCount

Gets the number of visual child elements within this element.

protected override int VisualChildrenCount { get; }

属性值

int

The number of visual child elements for this element.

方法

ArrangeOverride(Size)

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

protected override Size ArrangeOverride(Size finalSize)

参数

finalSize Size

The final area within the parent that this element should use to arrange itself and its children.

返回

Size

The actual size used.

GetVisualChild(int)

Overrides GetVisualChild(int), and returns a child at the specified index from a collection of child elements.

protected override Visual GetVisualChild(int index)

参数

index int

The zero-based index of the requested child element in the collection.

返回

Visual

The requested child element. This should not return null; if the provided index is out of range, an exception is thrown.