diff --git a/CPF.Linux/CPF.Linux.csproj b/CPF.Linux/CPF.Linux.csproj index e290dc8..800c710 100644 --- a/CPF.Linux/CPF.Linux.csproj +++ b/CPF.Linux/CPF.Linux.csproj @@ -17,7 +17,7 @@ - D:\xhm\Documents\Visual Studio 2019\ConsoleApp1\CPF.Linux\CPF.Linux.xml + bin\Debug\CPF.Linux.xml diff --git a/CPF.Linux/CPF.Linux.xml b/CPF.Linux/CPF.Linux.xml deleted file mode 100644 index 760bab9..0000000 --- a/CPF.Linux/CPF.Linux.xml +++ /dev/null @@ -1,58 +0,0 @@ - - - - CPF.Linux - - - - - 启用触摸事件,之所有加上这个,因为部分Linux对XI2支持有问题 - - - - - 处理事件,返回值为true的时候不调用默认处理方法 - - - - - - - 设置数据,同时设置Cancel=true - - - - - - 异步 - - - - - - unsigned short - - - char** - - - - 绘制 - - - - - - - - - 部分Linux里会丢失状态消息 - - - unsigned int - - - XPointer->char* - - - diff --git a/CPF.Mac/CPF.Mac.csproj b/CPF.Mac/CPF.Mac.csproj index 53bbdc0..954437a 100644 --- a/CPF.Mac/CPF.Mac.csproj +++ b/CPF.Mac/CPF.Mac.csproj @@ -16,7 +16,7 @@ - D:\xhm\Documents\Visual Studio 2019\ConsoleApp1\CPF.Mac\CPF.Mac.xml + bin\Debug\CPF.Mac.xml diff --git a/CPF.Mac/CPF.Mac.xml b/CPF.Mac/CPF.Mac.xml deleted file mode 100644 index 1b8a7ac..0000000 --- a/CPF.Mac/CPF.Mac.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - CPF.Mac - - - - - Cef需要用的属性 - - - - - Cef需要用的属性 - - - - diff --git a/CPF.Skia/CPF.Skia.csproj b/CPF.Skia/CPF.Skia.csproj index 064737d..007ee62 100644 --- a/CPF.Skia/CPF.Skia.csproj +++ b/CPF.Skia/CPF.Skia.csproj @@ -16,7 +16,7 @@ true - D:\xhm\Documents\Visual Studio 2019\ConsoleApp1\CPF.Skia\CPF.Skia.xml + bin\Debug\CPF.Skia.xml true diff --git a/CPF.Skia/CPF.Skia.xml b/CPF.Skia/CPF.Skia.xml deleted file mode 100644 index 683db7b..0000000 --- a/CPF.Skia/CPF.Skia.xml +++ /dev/null @@ -1,77 +0,0 @@ - - - - CPF.Skia - - - - - 计算每个字符的宽度,不能有换行符 - - - - - - - - 支持OpenGL绘制的控件 - - - - - Skia paint wrapper. - - - - - - - - 可以让字体显示更清晰,不过在透明背景下会有黑边 - - - - - 尝试启用GPU加速,普通的界面不建议开启GPU,因为使用GPU加速后,普通界面加速效果不明显,但是内存占用会翻倍,尤其是使用GIF的时候,因为会缓存每一帧。 - 需要有正确的显卡驱动配置,依赖OpenGL。Windows上需要开启了Dwm桌面混合(win7不能使用basic主题)的情况下才GPU加速效果。如果出现花屏或者界面不显示情况,请关闭硬件加速。 - - - - - 从指定控件生成PDF - - 要生成的控件 - 保存路径 - - - - 3D变换只能支持Skia - - - - - -90到90 - - - - - -90到90 - - - - - -90到90 - - - - - 默认250 - - - - - 缩放值 - - - - diff --git a/CPF.Windows/CPF.Windows.csproj b/CPF.Windows/CPF.Windows.csproj index 6403658..438754e 100644 --- a/CPF.Windows/CPF.Windows.csproj +++ b/CPF.Windows/CPF.Windows.csproj @@ -18,7 +18,7 @@ - D:\xhm\Documents\Visual Studio 2019\ConsoleApp1\CPF.Windows\CPF.Windows.xml + bin\Debug\CPF.Windows.xml diff --git a/CPF.Windows/CPF.Windows.xml b/CPF.Windows/CPF.Windows.xml deleted file mode 100644 index 5129e56..0000000 --- a/CPF.Windows/CPF.Windows.xml +++ /dev/null @@ -1,900 +0,0 @@ - - - - CPF.Windows - - - - - - - - Specifies a Windows bitmap format. This field is read-only. - - - - - Specifies the Windows enhanced metafile format. This - field is read-only. - - - - - Specifies the Windows metafile format, which Win Forms - does not directly use. This - field is read-only. - - - - - Specifies the Windows symbolic link format, which Win - Forms does not directly use. This - field is read-only. - - - - - Specifies the Windows data interchange format, which Win - Forms does not directly use. This - field is read-only. - - - - - Specifies the Tagged Image File Format (TIFF), which Win - Forms does not directly use. This - field is read-only. - - - - - Specifies the standard Windows original equipment - manufacturer (OEM) text format. This field is read-only. - - - - - Specifies the Windows palette format. This - field is read-only. - - - - - Specifies the Windows pen data format, which consists of - pen strokes for handwriting software; Win Forms does not use this format. This - - field is read-only. - - - - - Specifies the Resource Interchange File Format (RIFF) - audio format, which Win Forms does not directly use. This field is read-only. - - - - - Specifies the wave audio format, which Win Forms does not - directly use. This field is read-only. - - - - - Specifies the Windows file drop format, which Win Forms - does not directly use. This - field is read-only. - - - - - Specifies the Windows culture format, which Win Forms does - not directly use. This field is read-only. - - - - - Specifies text consisting of HTML data. This - field is read-only. - - - - - Specifies text consisting of Rich Text Format (RTF) data. This - field is read-only. - - - - - Specifies a comma-separated value (CSV) format, which is a - common interchange format used by spreadsheets. This format is not used directly - by Win Forms. This - field is read-only. - - - - - - Name of the window class to subclass. The default value for this field - is null, indicating that the window is not a subclass of an existing - window class. To subclass an existing window class, store the window - class name in this field. For example, to subclass the standard edit - control, set this field to "EDIT". - - - - - - The initial caption your control will have. - - - - - - Window style bits. This must be a combination of WS_XXX style flags and - other control-specific style flags. - - - - - - Extended window style bits. This must be a combination of WS_EX_XXX - style flags. - - - - - - Class style bits. This must be a combination of CS_XXX style flags. This - field is ignored if the className field is not null. - - - - - - The left portion of the initial proposed location. - - - - - - The top portion of the initial proposed location. - - - - - - The initially proposed width. - - - - - - The initially proposed height. - - - - - - The controls parent. - - - - - - Any extra information that the underlying handle might want. - - - - - - [To be supplied.] - - - - - Pointer to the name. - - - - - Size of the stream in bytes. - - - - - The stream mode. - - - - - Supported locking modes. - - - - '0' means does not support lock modes. - - - - - Only for IStorage objects - - - - - Only valid for IStorage objects. - - - - - Caller is responsible for freeing the name memory. - - - - - Callee is repsonsible for allocating the name memory. - - - - - Read only, and each change to a storage or stream element is written as it occurs. - Fails if the given storage object already exists. - [STGM_DIRECT] [STGM_READ] [STGM_FAILIFTHERE] [STGM_SHARE_DENY_WRITE] - - - - - - Specifies the window handle of the message. - - - - - - Specifies the ID number for the message. - - - - - - Specifies the of the message. - - - - - - Specifies the of the message. - - - - - - Specifies the return value of the message. - - - - - - Creates a new object. - - - - - - - - - - - - - - - - - - - Initializes a new instance of the class. - - - - - - - [This event is raised on the NIN_BALLOONUSERCLICK message.] - - - - - - [This event is raised on the NIN_BALLOONTIMEOUT message.] - - - - - - [This event is raised on the NIN_BALLOONSHOW or NIN_BALLOONHIDE message.] - - - - - - - Gets or sets the BalloonTip icon displayed when - the mouse hovers over a system tray icon. - - - - - - - - Gets or sets the BalloonTip title displayed when - the mouse hovers over a system tray icon. - - - - - - - - Gets or sets context menu - for the tray icon. - - - - - - - - Gets or sets the current - icon. - - - - - - - - Gets or sets the ToolTip text displayed when - the mouse hovers over a system tray icon. - - - - - - - - Gets or sets a value indicating whether the icon is visible in the Windows System Tray. - - - - - - - Occurs when the user clicks the icon in the system tray. - - - - - - Occurs when the user double-clicks the icon in the system tray. - - - - - - - Occurs when the - user presses a mouse button while the pointer is over the icon in the system tray. - - - - - - - - Occurs - when the user moves the mouse pointer over the icon in the system tray. - - - - - - - - Occurs when the - user releases the mouse button while the pointer - is over the icon in the system tray. - - - - - - - - Disposes of the resources (other than memory) used by the - . - - - - - - - - This method raised the BalloonTipClosed event. - - - - - - - - This method raised the BalloonTipShown event. - - - - - - - - This method actually raises the Click event. Inheriting classes should - override this if they wish to be notified of a Click event. (This is far - preferable to actually adding an event handler.) They should not, - however, forget to call base.onClick(e); before exiting, to ensure that - other recipients do actually get the event. - - - - - - - Inheriting classes should override this method to handle this event. - Call base.onDoubleClick to send this event to any registered event listeners. - - - - - - Inheriting classes should override this method to handle this event. - Call base.OnMouseClick to send this event to any registered event listeners. - - - - - - Inheriting classes should override this method to handle this event. - Call base.OnMouseDoubleClick to send this event to any registered event listeners. - - - - - - - Raises the event. - Inheriting classes should override this method to handle this event. - Call base.onMouseDown to send this event to any registered event listeners. - - - - - - - - - Inheriting classes should override this method to handle this event. - Call base.onMouseMove to send this event to any registered event listeners. - - - - - - - - - Inheriting classes should override this method to handle this event. - Call base.onMouseUp to send this event to any registered event listeners. - - - - - - - - Displays a balloon tooltip in the taskbar. - - The system enforces minimum and maximum timeout values. Timeout - values that are too large are set to the maximum value and values - that are too small default to the minimum value. The operating system's - default minimum and maximum timeout values are 10 seconds and 30 seconds, - respectively. - - No more than one balloon ToolTip at at time is displayed for the taskbar. - If an application attempts to display a ToolTip when one is already being displayed, - the ToolTip will not appear until the existing balloon ToolTip has been visible for at - least the system minimum timeout value. For example, a balloon ToolTip with timeout - set to 30 seconds has been visible for seven seconds when another application attempts - to display a balloon ToolTip. If the system minimum timeout is ten seconds, the first - ToolTip displays for an additional three seconds before being replaced by the second ToolTip. - - - - - - - - Displays a balloon tooltip in the taskbar with the specified title, - text, and icon for a duration of the specified timeout value. - - The system enforces minimum and maximum timeout values. Timeout - values that are too large are set to the maximum value and values - that are too small default to the minimum value. The operating system's - default minimum and maximum timeout values are 10 seconds and 30 seconds, - respectively. - - No more than one balloon ToolTip at at time is displayed for the taskbar. - If an application attempts to display a ToolTip when one is already being displayed, - the ToolTip will not appear until the existing balloon ToolTip has been visible for at - least the system minimum timeout value. For example, a balloon ToolTip with timeout - set to 30 seconds has been visible for seven seconds when another application attempts - to display a balloon ToolTip. If the system minimum timeout is ten seconds, the first - ToolTip displays for an additional three seconds before being replaced by the second ToolTip. - - - - - - - Shows the context menu for the tray icon. - - - - - - - Updates the icon in the system tray. - - - - - - - Handles the mouse-down event - - - - - - - Handles the mouse-move event - - - - - - - Handles the mouse-up event - - - - - - - Defines a placeholder window that the NotifyIcon is attached to. - - - - - - - Create a new NotifyIcon, and bind the window to the NotifyIcon component. - - - - - - - Pass messages on to the NotifyIcon object's wndproc handler. - - - - - - - - - - - No Icon. - - - - - - - - A Information Icon. - - - - - - - - A Warning Icon. - - - - - - - - A Error Icon. - - - - - - Called by a data consumer to obtain data from a source data object. - The GetData method renders the data described in the specified FORMATETC - structure and transfers it through the specified STGMEDIUM structure. - The caller then assumes responsibility for releasing the STGMEDIUM structure. - - - - - Called by a data consumer to obtain data from a source data object. - This method differs from the GetData method in that the caller must - allocate and free the specified storage medium. - - - - - Determines whether the data object is capable of rendering the data - described in the FORMATETC structure. Objects attempting a paste or - drop operation can call this method before calling IDataObject::GetData - to get an indication of whether the operation may be successful. - - - - - Provides a standard FORMATETC structure that is logically equivalent to one that is more - complex. You use this method to determine whether two different - FORMATETC structures would return the same data, removing the need - for duplicate rendering. - - - - - Called by an object containing a data source to transfer data to - the object that implements this method. - - - - - Creates an object for enumerating the FORMATETC structures for a - data object. These structures are used in calls to IDataObject::GetData - or IDataObject::SetData. - - - - - Called by an object supporting an advise sink to create a connection between - a data object and the advise sink. This enables the advise sink to be - notified of changes in the data of the object. - - - - - Destroys a notification connection that had been previously set up. - - - - - Creates an object that can be used to enumerate the current advisory connections. - - - - - Retrieves the next celt items in the enumeration sequence. If there are - fewer than the requested number of elements left in the sequence, it - retrieves the remaining elements. The number of elements actually - retrieved is returned through pceltFetched (unless the caller passed - in NULL for that parameter). - - - - - Skips over the next specified number of elements in the enumeration sequence. - - - - - Resets the enumeration sequence to the beginning. - - - - - Creates another enumerator that contains the same enumeration state as - the current one. Using this function, a client can record a particular - point in the enumeration sequence and then return to that point at a - later time. The new enumerator supports the same interface as the original one. - - - - - 注册debug消息,委托要自己保存,不要直接用临时的Lambda - - - - - Retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format. - - A handle to the device context. - A handle to the bitmap. This must be a compatible bitmap (DDB). - The first scan line to retrieve. - The number of scan lines to retrieve. - A pointer to a buffer to receive the bitmap data. If this parameter is , the function passes the dimensions and format of the bitmap to the structure pointed to by the parameter. - A pointer to a structure that specifies the desired format for the DIB data. - The format of the bmiColors member of the structure. It must be one of the following values. - If the lpvBits parameter is non-NULL and the function succeeds, the return value is the number of scan lines copied from the bitmap. - If the lpvBits parameter is NULL and GetDIBits successfully fills the structure, the return value is nonzero. - If the function fails, the return value is zero. - This function can return the following value: ERROR_INVALID_PARAMETER (87 (0×57)) - - - - 不使用 - - - - - 数据长度 - - - - - 数据地址 - - - - - Text format. Each line ends with a carriage return/linefeed (CR-LF) combination. A null character signals the end of the data. Use this format for ANSI text. - - - - - A handle to a bitmap - - - - - A memory object containing a BITMAPINFO structure followed by the bitmap bits. - - - - - Unicode text format. Each line ends with a carriage return/linefeed (CR-LF) combination. A null character signals the end of the data. - - - - - A handle to type HDROP that identifies a list of files. - - - - - The length of the structure, in bytes. Before calling the GetWindowPlacement or SetWindowPlacement functions, set this member to sizeof(WINDOWPLACEMENT). - - GetWindowPlacement and SetWindowPlacement fail if this member is not set correctly. - - - - - - Specifies flags that control the position of the minimized window and the method by which the window is restored. - - - - - The current show state of the window. - - - - - The coordinates of the window's upper-left corner when the window is minimized. - - - - - The coordinates of the window's upper-left corner when the window is maximized. - - - - - The window's coordinates when the window is in the restored position. - - - - - Gets the default (empty) value. - - - - - Movement has occurred. Cannot be combined with TOUCHEVENTF_DOWN. - - - - - The corresponding touch point was established through a new contact. Cannot be combined with TOUCHEVENTF_MOVE or TOUCHEVENTF_UP. - - - - - A touch point was removed. - - - - - A touch point is in range. This flag is used to enable touch hover support on compatible hardware. Applications that do not want support for hover can ignore this flag. - - - - - Indicates that this TOUCHINPUT structure corresponds to a primary contact point. See the following text for more information on primary touch points. - - - - - When received using GetTouchInputInfo, this input was not coalesced. - - - - - The touch event came from the user's palm. - - - - - Stat flags for . - - - - - - Stat includes the name. - - - - - Stat doesn't include the name. - - - - - 为了防止多屏幕拖动的时候抖动 - - - - - 处理WindowProc - - - - - RenderToBitmap=true,图像渲染到这个位图里,界面将不显示 - - - - - 窗体位置和尺寸,屏幕像素 - - - - - 初始化Windows平台 - - net5以上才有用的,为了兼容aot,自动注册COM的。 如果你要使用Winform控件出现com问题,你可以把这个改成false - - - diff --git a/CPF/CPF.csproj b/CPF/CPF.csproj index e2bdc31..f689a6b 100644 --- a/CPF/CPF.csproj +++ b/CPF/CPF.csproj @@ -20,7 +20,7 @@ - D:\xhm\Documents\Visual Studio 2019\ConsoleApp1\CPF\CPF.xml + bin\Debug\CPF.xml true false diff --git a/CPF/CPF.xml b/CPF/CPF.xml deleted file mode 100644 index 52aa986..0000000 --- a/CPF/CPF.xml +++ /dev/null @@ -1,16671 +0,0 @@ - - - - CPF - - - - - 动画模式 - - - - - 表示指定的路径中进行动画处理在开始之前将略有收回动画的运动的缓动函数。 - - - - - 表示指定的路径中进行动画处理在开始之前将略有收回动画的运动的缓动函数。 - - - - - Specifies how much the function will pull back - - - - - 表示创建动画反弹效果的缓动函数。 - - - - - 表示创建动画反弹效果的缓动函数。 - - - - - Specifies the number of bounces. This does not include the final half bounce. - - - - - Specifies the amount of bounciness. This corresponds to the scale difference between a bounce and the next bounce. - For example, Bounciness = 2.0 correspondes to the next bounce being twices as high and taking twice as long. - - - - - 表示创建的动画加速和/或使用循环函数减速的缓动函数。 - - - - - 表示创建的动画加速和/或使用循环函数减速的缓动函数。 - - - - - 表示一个缓动函数,该函数创建一个使用公式 f(t) = t3 进行加速和/或减速的动画。 - - - - - 表示一个缓动函数,该函数创建一个使用公式 f(t) = t3 进行加速和/或减速的动画。 - - - - - 表示创建类似于弹簧 rest 直到显示来回振荡的动画的缓动函数。 - - - - - 表示创建类似于弹簧 rest 直到显示来回振荡的动画的缓动函数。 - - - - - Specifies the number of oscillations - - - - - Specifies the amount of springiness - - - - - 表示创建的动画加速和/或使用指数公式减速的缓动函数。 - - - - - 表示创建的动画加速和/或使用指数公式减速的缓动函数。 - - - - - Specifies the factor which controls the shape of easing.默认值2 - - - - - 定义一个缓动动画时间变换接口 - - - - - 定义一个关键帧接口 - - - - - - 获取或设置应到达关键帧的目标 Value 的时间。 - - - - - 获取或设置关键帧的目标值。 - - - - - 获取插值 - - 0-1 - - - - - 关键帧 - - - - - 动画模式 - - - - - 需要变化的属性 - - - - - 获取设置的目标值 - - - - - - 缓动动画动画进度变化 - - - - - - - 缓动动画效果 - - - - - 定义一个类型数据的关键帧,默认支持byte,Color,double,float,int,short,long,Point,Rect,Size,Thickness,Vector,GeneralTransform,Matrix,Transform,SolidColorFill - - - - - - 定义一个类型数据的关键帧,默认支持byte,Color,double,float,int,short,long,Point,Rect,Size,Thickness,Vector,GeneralTransform,Matrix,Transform,SolidColorFill - - - - - 目标值 - - - - - 用了解决Aot模式下无法使用反射泛型构建KeyFrame问题 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用下面的公式 f(t) = tp p 是等于 Power 属性。 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用下面的公式 f(t) = tp p 是等于 Power 属性。 - - - - - Specifies the power for the polynomial equation.默认值2 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用下面的公式 f(t) = t2 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用下面的公式 f(t) = t2 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用下面的公式 f(t) = t4。 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用下面的公式 f(t) = t4。 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用正弦值的公式 - - - - - 表示一个缓动函数,创建一个动画加速和/或减速使用正弦值的公式 - - - - - 一个容器时间线,该时间线为子动画提供对象和属性确定信息。 - - - - - 动画帧率,默认100,由于定时器不够精确,帧率没那么准 - - - - - 需要按时间的从小到大顺序添加 - - - - - 播放动画 - - - 持续时间 - 动画播放次数,0为无限循环 - 动画结束之后的行为 - - - - 重置播放状态 - - - - - 移除动画关联的对象 - - - - - - 获取当前动画时间 - - - - - - - 获取关联的对象动画是否暂停 - - - - - - 动画持续时间 - - - - - 动画播放次数,0为无限循环 - - - - - 动画结束之后的行为 - - - - - 需要应用动画的目标对象 - - - - - 重置播放状态 - - - - - 当前动画所在的时间 - - - - - 动画播放结束之后的行为 - - - - - 恢复为开始动画之前的状态 - - - - - 保留动画的属性变化 - - - - - 对属性值动画过渡到目标值,目标值必须显式转换,比如FloatField的"100%",必须写成(FloatField)"100%",不能直接用"100%" - - 属性值类型 - 执行动画的对象类型 - - - - - - - 如果循环次数是多次的话,那就会触发多次 - 为0的话是一直播放,不断循环 - - - - 对属性值动画过渡到目标值 - - - - - a=>a.Property - - - - - 如果循环次数是多次的话,那就会触发多次 - 为0的话是一直播放,不断循环 - - - - - 时间轴 - - - - - 初始化时间轴,设置到达关键帧的目标 Value 的百分比时间0-1 - - - - - - 获取或设置应到达关键帧的目标 Value 的百分比时间。 0-1 - - - - - 关键帧 - - - - - 定义一些常用附加属性 - - - - - 是否错误 - - - - - 是否有效 - - - - - 是否为空 - - - - - 当使用交替项目容器时,获取项目容器的分配值。 - - - - - int值 - - - - - 设置附加属性值 - - - - - - - - 设置附加属性值和绑定 - - - - - - - - - - - - - - - - - 设置附加属性值和绑定 - - - - - - - - - - - - - - - 设置附加属性值和绑定 - - - - - - - - 初始化的时候查找相对元素 - - - - - - - - - 设置附加属性值和绑定 - - - - - - 初始化的时候查找相对元素 - - - - - - - - - 绑定 - - - - - 事件弱绑定 - - - 不能是静态方法 - - - - 移除弱事件绑定 - - - - - - - Target对象 - - - - - 数据源对象 - - - - - 数据源字段名 - - - - - Owner被绑定的属性名 - - - - - SourceToTarget异常回调 - - - - - TargetToSource异常回调 - - - - - 数据绑定的转换 - - - - - 数据绑定的转换 - - - - - 绑定模式 - - - - - 取消数据绑定 - - - - - 当前执行的绑定对象 - - - - - 取消这次的数据传递 - - - - - 是否是双向绑定的时候回传状态,一般在转换器里使用,在双向绑定的时候,假如label1和label2的text双向绑定了 label1.Text="1";那label1的Text会传给label2的Text,但是这个同时label2的Text也会因为绑定的缘故往label1传Text值,这个时候IsPostBack为true,你可以判断是否要Cancel。假如回传的label2的Text和label1的Text值不同或者转换器转换到的结果不匹配那可能会出现死循环或者其他错误 - - - - - 执行数据传递 - - - - - 执行数据传递 - - - - - 绑定的UIElement层次,0是自己,1是Parent,2是Parent.Parent.... - - - - - This enum describes how the data flows through a given Binding - - - - Data flows from source to target and vice-versa - - - Data flows from source to target, source changes cause data flow - - - Data flows from source to target once, source changes are ignored 数据从源流到目标一次, 源更改将被忽略 - - - Data flows from target to source, target changes cause data flow - - - - 设置附加属性 - - - - - - - - - - - 简化绑定操作 - - - - - 数据绑定的转换 - - - - - 简化绑定命令的命令,如果设置了该属性,则使用命令绑定 - - - - - 双向绑定,如果加数据转换器,两个转换器要对称,否则可能出现死循环或者其他错误 - - - - - - - - 右边数据绑定到左边,只传递一次数据 - - - - - - - - 右边数据绑定到左边 - - - - - - - - 左边数据绑定到右边 - - - - - - - - 和DataContext的对象的属性双向绑定 - - - DataContext的对象的属性名 - - - - - DataContext的对象的属性数据绑定到左边,只传递一次数据 - - - DataContext的对象的属性名 - - - - - DataContext的对象的属性数据绑定到左边 - - - DataContext的对象的属性名 - - - - - 左边数据绑定到DataContext的对象的属性 - - - DataContext的对象的属性名 - - - - - 设置绑定 - - - - - 添加绑定 - - 绑定的目标属性名 - 绑定的数据源对象的属性名 - 数据源对象,如果为空则绑定到DataContext对象上 - 绑定模式 - 源到目标数据转换 - 目标到源数据转换 - 源到目标数据转换出现异常时 - 目标到源数据转换出现异常时 - - - - 简化 DataGridCellTemplate 绑定 - - - - - - - 添加绑定到UIElement对象上,定义绑定在对应的Element层次上 - - - - UI元素层,0是自己,1是Parent,2是Parent.Parent.... - - - - - - - - - 一般用于在设计模板的时候绑定当前页面里的元素,初始化的时候查找相对元素并绑定 - - - - 初始化的时候查找相对元素并绑定,回调的参数是当前的Owner元素 - - - - - - - - - 初始化的时候查找相对元素并绑定 - - - - - - - - - - - - - - - KeyValuePair<string, List<Binding>> - - - - - - 图像缓存模式 - - - - - 提供折线图,曲线图,柱状图 - - - - - 数据 - - - - - 水平缩放值 大于等于1 - - - - - 滚动值 - - - - - 刷新数据,下次更新的时候更新 - - - - - X轴颜色 - - - - - Y轴颜色 - - - - - 图表区域填充 - - - - - 是否可以缩放滚动 - - - - - X轴文字 - - - - - Y轴最大值 - - - - - Y轴最小值 - - - - - Y轴刻度分割数量,大于等于1 - - - - - 鼠标移入选中的线条填充 - - - - - 鼠标移入选中的坐标轴提示背景填充 - - - - - 鼠标移入选中的坐标轴提示文字填充 - - - - - 网格显示模式 - - - - - 网格填充 - - - - - 显示滚动缩放值的线条填充 - - - - - 鼠标移入图表的时候显示信息 - - - - - 是否有数据 - - - - - 图例模板 - - - - - 添加数据之后要调用该方法来更新界面 - - - - - 通过坐标获取该位置的数据索引 - - - - - - - 柱状图数据 - - - - - 柱状图数据 - - - - - 数据 - - - - - 显示数值 - - - - - 数据表示填充 - - - - - 是否是层叠样式 - - - - - 定义数值格式化方式 double.ToString(format) - - - - - 图表折线,曲线显示数据 - - - - - 图表折线,曲线显示数据 - - - - - 数据 - - - - - 数值格式化方式 double.ToString(format) - - - - - 点上面显示数值 - - - - - 显示数据点 - - - - - 线条填充 - - - - - 线条类型 - - - - - 线条类型 - - - - - 底部填充笔刷 - - - - - 图表线条类型 - - - - - 不显示 - - - - - 曲线 - - - - - 直线 - - - - - 图表数据 - - - - - 获取数据表示的填充 - - - - - 数据线的名称 - - - - - 绘制图形 - - - 数据开始 - 数据长度 - 绘制范围 - Y轴最大值 - Y轴最小值 - - - - - - 绘制图形背景 - - - 数据开始 - 数据长度 - - - - - - - - - 获取数据 - - 数据索引 - - - - - 获取该范围内数据的最大值 - - - - - - - - 获取该范围内数据的最小值 - - - - - - - - 数据量 - - - - - 设置所属的Chart控件 - - - - - 饼图 - - - - - 刷新数据,下次更新的时候更新 - - - - - 指示的线条填充 - - - - - 圆环宽度 - - - - - 图例模板 - - - - - 是否有数据 - - - - - 通过坐标测试选中的数据 - - - - - - - 定义数值格式化方式 - - - - - 图例模板 - - - - - 包含项目添加移出事件的泛型集合,由于System.Collections.ObjectModel.ObservableCollection的Clear操作事件里没有OldItems值,所以重新定义个 - - - - - - 使用指定的比较器对所有元素进行排序。 - - 比较元素时要使用的比较器 - - - - 排序 - - - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个集合中的第一个匹配元素 - - - - - - - 确定 集合 是否包含与指定谓词所定义的条件相匹配的元素 - - - - - - - 检索与指定谓词定义的条件匹配的所有元素 - - - - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个集合 中第一个匹配元素的从零开始的索引。 - - - - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个 集合 中的最后一个匹配元素。 - - - - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个 集合 中最后一个匹配元素的从零开始的索引。 - - - - - - - 事件列表,用于优化事件订阅内存 - - - - - 项目添加之后 - - - - - 调用Sort排序之后 - - - - - 开始排序 - - - - - 提供排序之后的通知 - - - - - 被替换的项,Replace的时候才有意义。Item就是替换之后的新的项 - - - - - 命令参数的数据 - - - - - 事件数据,如果是属性的话,则事件数据对象是CPFPropertyChangedEventArgs - - - - - 事件发送者 - - - - - 属性值 - - - - - 旧的属性值 - - - - - 属性元数据 - - - - - 绑定的命令集合 - - - - - 添加处理命令,命令方法在CommandContext或者其他对象上 - - 触发的事件名或者属性名 - 触发事件之后调用的方法名 - 方法所在的对象如果为null,在是CommandContext - 方法参数,如果参数是CommandParameter则可以获取对应的事件数据或者属性值 - - - - 添加处理命令,初始化的时候查找相对元素并绑定 - - - - - - - - - 添加处理命令 - - - 参数是事件数据EventArgs或者属性的CPFPropertyChangedEventArgs - - - - KeyValuePair<string, List<Command>> - - - - - - 清空所有命令绑定,一般不建议调用 - - - - - 计算属性,设置需要关联的属性 - - - - - 计算属性,设置需要关联的属性 - - - - - - 关联的属性 - - - - - 获取此元素的逻辑树中的父级。 - - - - - 在另一个元素四周绘制边框和背景。 - - - - - 获取或设置 单一子元素。 - - - - - 背景填充 - - - - - 边框线条填充 - - - - - 获取或设置线条类型 - - - - - 获取或设置描述 Thickness 及其子元素之间的空间量的 Border 值。 - - - - - 四周边框粗细 - - - - - 获取或设置一个值,该值表示将 Border 的角倒圆的程度。 - - - - - 阴影颜色 - - - - - 模糊宽度 - - - - - 阴影水平偏移 - - - - - 阴影垂直偏移 - - - - - 边框类型 - - - - - 九宫格绘制图片 - - - - 绘制区域 - 裁减宽度 - 是否绘制中间 - - - - 四周边框一样粗,BorderStroke属性定义粗细样式,支持设置虚线 - - - - - 四周边框可以不同粗细,BorderThickness属性定义四周粗细,如果定义圆角了可能会有锯齿 - - - - - 表示 Windows 按钮控件,该按钮对 Click 事件做出反应。 - - - - - 表示所有 Button 控件的基类。 - - - - - 获取或设置 Click 事件何时发生。 - - - - - 是否按下 - - - - - ClickMode specifies when the Click event should fire - - - - - Used to specify that the Click event will fire on the - normal down->up semantics of Button interaction. - Escaping mechanisms work, too. Capture is taken by the - Button while it is down and released after the - Click is fired. - - - - - Used to specify that the Click event should fire on the - down of the Button. Basically, Click will fire as - soon as the IsPressed property on Button becomes true. - Even if the mouse is held down on the Button, capture - is not taken. - - - - - Used to specify that the Click event should fire when the - mouse hovers over a Button. - - - - - 代表一个控件,此控件允许用户使用可视的日历显示来选择日期 - - - - - 选中的日期 - - - - - 获取或设置要显示的日期。 - - - - - 当前显示模式 - - - - - 获取或设置被视为一周开始的日期。 - - - - - The Calendar displays a month at a time. - - - - - The Calendar displays a year at a time. - - - - - 表示 Calendar 对象上的月份或年份。 - - - - - 表示 Calendar 上的日。 - - - - - 是否不是本月的 - - - - - 表示用户可以选择和清除的控件。 - - - - - 背景填充 - - - - - 前景色 - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough/none [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color] - - - - - 代码编辑控件,可以支持大规模文本 - - - - - 是否启用输入法,主要描述的是中文这类输入法 - - - - - 获取或设置一个值,该值指示文本编辑控件对于与该控件交互的用户是否是只读的 - - - - - 如果按 Tab 键会在当前光标位置插入一个制表符,则为 true;如果按 Tab 键会将焦点移动到标记为制表位的下一个控件且不插入制表符,则为 false - - - - - 获取或设置用于绘制文本框的插入符号的画笔 - - - - - 获取或设置会突出显示选定文本的画笔。 - - - - - 获取或设置一个值,此值定义用于所选文本的画笔。 - - - - - 获取或设置一个值,该值指示是否应显示水平 ScrollBar。 - - - - - 获取或设置一个值,该值指示是否应显示垂直 ScrollBar。 - - - - - 获取或设置一个值,是否显示行号 - - - - - 获取或设置一个值,该值指示文本编辑控件是否支持撤消功能 - - - - - 获取或设置存储在撤消队列中的操作的数目。 默认值为-1, 表示撤消队列限制为可用的内存。 - - - - - 光标位置,或者选中的开始位置 - - - - - 选中的结束位置 - - - - - 选中的文字 - - - - - 文本内容 - - - - - 布局好的行 - - - - - 关键词样式集合 - - - - - 样式 - - - - - 在文本元素中的内容改变时发生. - - - - - 粘贴 - - - - - 通过鼠标坐标获取光标索引位置 - - - - - - - 获取索引处坐标,如果位置不在可视范围内,那X值将不是精确值 - - - - - - - - 用于同步样式 - - - - - - - 用于同步样式 - - - - - - - 光标位置是否在选中的文字里 - - - - - - - 获取索引处坐标,如果位置不在可视范围内,那X值将不是精确值 - - - - - - - - 通过鼠标坐标获取光标索引位置 - - - - - - - 布局好的行 - - - - - 定义Grid的列 - - - - - 权重*或者数值 - - - - - 表示带有下拉列表的选择控件,通过单击控件上的箭头可显示或隐藏下拉列表 - - - - - 下拉框容器 #DropDownPanel - - - - - 获取或设置一个值,该值指示组合框的下拉部分当前是否打开 - - - - - 下拉列表高度 - - - - - 编辑模式,就是可以文本框输入,自动选中下拉列表内容 - - - - - 是否展示清除按钮 - - - - - 表示包含一段任意类型内容的控件。 - - - - - 内容可以是字符串,UI元素等等 - - - - - 内容模板 - - - - - 获取或设置一个撰写字符串,该字符串指定如果 Content 属性显示为字符串,应如何设置该属性的格式.String.Format - - - - - 内容模板 - - - - - 右键菜单 - - - - - 获取或设置是否显示,通过这个属性来显示和隐藏 - - - - - 获取或设置当打开 Popup 控件时该控件相对于其放置的元素。 - - - - - 获取或设置 Popup 控件打开时的控件方向,并指定 Popup 控件在与屏幕边界重叠时的控件行为 - - - - - 这里不建议使用 - - - - - 这里不建议使用 - - - - - 这里不建议使用 - - - - - 这里不建议使用 - - - - - 这里不建议使用 - - - - - 这里不建议使用 - - - - - 弹出时候的定位 默认值 1 - - - - - 弹出时候的定位 - - - - - 弹出时候的定位 默认值 1 - - - - - 弹出时候的定位 - - - - - 支持可视化设计的控件基类 - - - - - 背景填充 - - - - - 边框线条填充 - - - - - 获取或设置线条类型 - - - - - 获取或设置描述 Thickness 及其子元素之间的空间量的 Border 值。格式:all或者left,top,right,bottom - - - - - 四周边框粗细 - - - - - 获取或设置一个值,该值表示将 Border 的角倒圆的程度。格式 一个数字或者四个数字 比如10或者 10,10,10,10 topLeft,topRight,bottomRight,bottomLeft - - - - - 边框类型,BorderStroke和BorderThickness - - - - - 字体名 - - - - - 字体尺寸,点 - - - - - 字体样式 - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color] - - - - - 控件文字的填充 - - - - - 初始化模板,重写时一般不需要调用base.InitializeComponent() - - - - - 是否初始化组件完成 - - - - - 模板,用来外部替换InitializeComponent操作,第一个参数就是当前对象,第二个就是当前对象的Children,由于Children大部分情况下是Protect,所以这里通过参数提供。初始化组件之前设置才有意义 - - - - - 调用内部InitializeComponent初始化组件 - - - - - 表示矩形的角的半径,格式 一个数字或者四个数字 比如10或者 10,10,10,10 topLeft,topRight,bottomRight,bottomLeft - - - - - 所有圆角度数都一样 - - - - - - 设置每个角 - - The thickness for the top left corner. - The thickness for the top right corner. - The thickness for the bottom right corner. - The thickness for the bottom left corner. - - - - This function compares to the provided object for type and value equality. - - Object to compare - True if object is a CornerRadius and all sides of it are equal to this CornerRadius'. - - - - Compares this instance of CornerRadius with another instance. - - CornerRadius instance to compare. - trueif this CornerRadius instance has the same value - and unit type as cornerRadius. - - - - This function returns a hash code. - - Hash code - - - - Converts this Thickness object to a string. - - String conversion. - - - - Overloaded operator to compare two CornerRadiuses for equality. - - First CornerRadius to compare - Second CornerRadius to compare - True if all sides of the CornerRadius are equal, false otherwise - - - - Overloaded operator to compare two CornerRadiuses for inequality. - - First CornerRadius to compare - Second CornerRadius to compare - False if all sides of the CornerRadius are equal, true otherwise - - - This property is the Length on the thickness' top left corner - - - This property is the Length on the thickness' top right corner - - - This property is the Length on the thickness' bottom right corner - - - This property is the Length on the thickness' bottom left corner - - - - 表示用于在可自定义的网格中显示数据的控件。 DataGrid只有虚拟模式,自定义DataGridRow模板需要注意DataGrid的VirtualizationMode属性,Row控件状态不保存 - - - - - 选择行为 - - - - - 选择行为 - - - - - 获取当前选定单元格的列表。 - - - - - 获取一个集合,该集合包含 DataGrid 中的所有列。 - - - - - 这里无效,不建议使用 - - - - - 是否虚拟化UI,只支持StackPanel的虚拟化数据显示。初始化之前设置 - - - - - 用来自定义虚拟模式,调整自定义模板里的尺寸,实现正常的虚拟化呈现。模板里要根据数据来修改尺寸,否则可能会对应不上。 - - 返回默认尺寸和自定义尺寸,index:数据里的索引,不能有重复index,size:呈现尺寸,必须大于默认值。 自定义尺寸可以为null,默认尺寸不能小于等于0,没有在自定义尺寸里的数据使用默认尺寸 - - - - 虚拟模式下元素使用方式 - - - - - 在行或单元格进入编辑模式之前发生。 - - - - - 在提交或取消单元格编辑之前发生。 - - - - - 获取或设置指示是否应取消事件的值。 - - - - - 获取包含要编辑的单元格的列 - - - - - 获取包含要编辑的单元格的 - - - - - 获取包含要编辑的单元格的列 - - - - - 获取包含要编辑的单元格的 - - - - - 获取单元格在编辑模式中显示的元素。 - - - - - 表示 DataGrid 控件的单元格。 - - - - - 尝试获取单元格值 - - - - - - 是否是编辑模式 - - - - - 表示有关 DataGrid 类中特定单元格的信息。 - - - - - 获取与包含此单元格的行的数据项。 - - - - - 尝试获取单元格值 - - - - - - 获取包含单元格的列。 - - - - - 单元格模板 - - - - - 传递数据的时候是否出错 - - - - - 数据转换 - - - - - - - 数据转换 - - - - - - - DataGrid文本编辑模板 - - - - - 获取或设置一个撰写字符串,该字符串指定如果 Header 属性显示为字符串,应如何设置该属性的格式.String.Format - - - - - 获取或设置属性名称,它指示作为排序依据的成员 - - - - - 获取或设置模板元素名称 - - - - - 获取或设置列标题的内容。 - - - - - 获取或设置该列相对于 DataGrid 中其他列的显示位置。当列显示在关联的 DataGrid 中时,该列从零开始的位置。 - - - - - 获取或设置列的排序方向(升序或降序)。 - - - - - 获取和列关联的UIElement - - - - - 获取包含此列的 DataGrid 控件。 - - - - - 获取或设置一个值,该值指示用户是否可使用鼠标调整列宽。 - - - - - 获取或设置一个值,该值指示用户能否通过单击列标题对列进行排序 - - - - - 绑定到数据源的属性或者数据表列的名称 - - - - - 当在派生类中被重写时,获取一个只读元素,该元素绑定到该列的 Binding 属性值。 - - - - - - 当在派生类中被重写时,获取一个编辑元素,该元素绑定到该列的 Binding 属性值。 - - - - - - 定义DataGrid的数据绑定 - - - - - 如果定义了双向绑定的转换器,两个转换器必须对应,否则可能会出现死循环 - - - - - - - - - 绑定模式 - - - - - 数据绑定的转换 - - - - - 数据绑定的转换,转换回数据源 - - - - - 设置绑定的数据源属性名,单向绑定 - - 数据源属性名 - - - - DataGridColumn模板 - - - - - 当前所在的列 - - - - - 用于绑定拖拽调整大小的Thumb.DragDelta - - - - - - 单元格ComboBox的下拉列表数据 - - - - - 单元格ComboBox的Item的模板 - - - - - 获取或设置指向源对象上的值的路径以提供该对象的可视化表示形式。 - - - - - 获取或设置用于从 SelectedValue 获取 SelectedItem 的路径。 - - - - - Initializes as an absolute value in pixels. - - - Specifies the number of 'device-independent pixels' (96 pixels-per-inch). - - - If pixels parameter is float.NaN - or pixels parameter is float.NegativeInfinity - or pixels parameter is float.PositiveInfinity. - - - - - Initializes to a specified value and unit. - - The value to hold. - The unit of value. - - value is ignored unless type is - DataGridLengthUnitType.Pixel or - DataGridLengthUnitType.Star - - - If value parameter is float.NaN - or value parameter is float.NegativeInfinity - or value parameter is float.PositiveInfinity. - - - - - Overloaded operator, compares 2 DataGridLength's. - - first DataGridLength to compare. - second DataGridLength to compare. - true if specified DataGridLengths have same value - and unit type. - - - - Overloaded operator, compares 2 DataGridLength's. - - first DataGridLength to compare. - second DataGridLength to compare. - true if specified DataGridLengths have either different value or - unit type. - - - - Compares this instance of DataGridLength with another object. - - Reference to an object for comparison. - trueif this DataGridLength instance has the same value - and unit type as oCompare. - - - - Compares this instance of DataGridLength with another instance. - - Grid length instance to compare. - trueif this DataGridLength instance has the same value - and unit type as gridLength. - - - - - - - - - - Returns true if this DataGridLength instance holds - an absolute (pixel) value. - - - - - Returns true if this DataGridLength instance is - automatic (not specified). - - - - - Returns true if this DataGridLength instance holds a weighted proportion - of available space. - - - - - Returns true if this instance is to size to the cells of a column or row. - - - - - Returns true if this instance is to size to the header of a column or row. - - - - - Returns value part of this DataGridLength instance. - - - - - Returns unit type of this DataGridLength instance. - - - - - Returns the string representation of this object. - - - - - Returns a value initialized to mean "auto." - - - - - Returns a value initialized to mean "size to cells." - - - - - Returns a value initialized to mean "size to header." - - - - - Allows for values of type float to be implicitly converted - to DataGridLength. - - The number of pixels to represent. - The DataGridLength representing the requested number of pixels. - - - - 数字*或者直接数字或者auto,sizetocells,sizetoheader - - - - - - 定义一些常量,这些常量指定如何调整 DataGrid 中元素的大小。 - - - - - 元素大小为以像素表示的固定值。 - The value is expressed in pixels. - - - - - 元素大小基于单元格的内容和列标题。 - The value indicates that content should be calculated based on the - unconstrained sizes of all cells and header in a column. - - - - - 元素大小基于单元格的内容。 - The value indicates that content should be be calculated based on the - unconstrained sizes of all cells in a column. - - - - - 元素大小基于列标题的内容。 - The value indicates that content should be calculated based on the - unconstrained size of the column header. - - - - - 元素大小为可用空间的加权比例。 - The value is expressed as a weighted proportion of available space. - - - - - DataGrid的一行 - - - - - 获取包含此列的 DataGrid 控件。 - - - - - 是否选中 - - - - - 在表格中的索引 - - - - - 内部DataGridCell - - - - - DataGrid内部ScrollViewer - - - - - 表示一个 DataGrid 列,该列在其单元格中承载模板指定的内容。 - - - - - 单元格模板 - - - - - 编辑模式下的单元格模板 - - - - - 表示一个 DataGrid 列,该列在其单元格中承载文本内容。 - - - - - 表示一个允许用户选择日期的控件。 - - - - - 选中的日期 - - - - - 获取或设置要显示的日期。 - - - - - 当前显示模式 - - - - - 获取或设置被视为一周开始的日期。 - - - - - 获取或设置一个值,该值指示组合框的下拉部分当前是否打开 - - - - - 获取或设置用于显示选定日期的格式 - - - - - 是否显示清空按钮 - - - - - 选中一个日期之后自动关闭 - - - - - 下拉框容器 - - - - - 提供在单个子元素 - - - - - 获取或设置 单一子元素。 - - - - - 指定 Dock 内子元素的 位置 - - - - - 定义一个区域,从中可以按相对位置水平或垂直排列各个子元素。 - - - - - 获取或设置一个值,该值指示一个子元素在父级 DockPanel 中的位置。 附加属性 - - - - - 获取或设置一个值,该值指示 DockPanel 中的最后一个子元素是否拉伸以填充剩余的可用空间 - - - - - DockPanel computes a position and final size for each of its children based upon their - enum and sizing properties. - - Size that DockPanel will assume to position children. - - - - 简单的文档控件,支持图片字体控件等元素布局,支持每个字符设置样式 - - - - - 背景填充 - - - - - 字体名称 - - - - - 字体尺寸 - - - - - 字体样式 - - - - - 前景色 - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough/none [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color] - - - - - 获取或设置显示的文本,如果设置Document里的内容了,Text属性值不会自动变化 - - - - - 样式 - - - - - 表示一种控件,该控件显示具有可折叠内容显示窗口的标题。 - - - - - 获取或设置每个控件的标题所用的数据。 - - - - - 获取或设置用于显示控件标头的内容的模板。 - - - - - 获取或设置 Expander 内容窗口是否可见 - - - - - 网格布局 - - - - - 网格布局 - - - - - 列,在CSS里设置 ColumnDefinitions-索引-Width:'*'; 值包含*的情况下要加引号 - - - - - 行,在CSS里设置 RowDefinitions-索引-Height:'*'; 值包含*的情况下要加引号 - - - - - 获取或设置元素行索引 - - - - - 获取或设置元素列索引 - - - - - 获取或设置元素跨行 - - - - - 获取或设置元素跨列 - - - - - 网格线条填充 - - - - - 获取或设置线条类型 - - - - - 表示显式支持 Star 单位类型的元素长度。 - - - - - Constructor, initializes the GridLength as absolute value in pixels. - - Specifies the number of 'device-independent pixels' - (96 pixels-per-inch). - - If pixels parameter is float.NaN - or pixels parameter is float.NegativeInfinity - or pixels parameter is float.PositiveInfinity. - - - - - Constructor, initializes the GridLength and specifies what kind of value - it will hold. - - Value to be stored by this GridLength - instance. - Type of the value to be stored by this GridLength - instance. - - If the type parameter is GridUnitType.Auto, - then passed in value is ignored and replaced with 0. - - - If value parameter is float.NaN - or value parameter is float.NegativeInfinity - or value parameter is float.PositiveInfinity. - - - - - Overloaded operator, compares 2 GridLength's. - - first GridLength to compare. - second GridLength to compare. - true if specified GridLengths have same value - and unit type. - - - - Overloaded operator, compares 2 GridLength's. - - first GridLength to compare. - second GridLength to compare. - true if specified GridLengths have either different value or - unit type. - - - - Compares this instance of GridLength with another object. - - Reference to an object for comparison. - trueif this GridLength instance has the same value - and unit type as oCompare. - - - - Compares this instance of GridLength with another instance. - - Grid length instance to compare. - trueif this GridLength instance has the same value - and unit type as gridLength. - - - - - - - - - - Returns true if this GridLength instance holds - an absolute (pixel) value. - - - - - Returns true if this GridLength instance is - automatic (not specified). - - - - - Returns true if this GridLength instance holds weighted propertion - of available space. - - - - - Returns value part of this GridLength instance. - - - - - Returns unit type of this GridLength instance. - - - - - Returns the string representation of this object. - - - - - Returns initialized Auto GridLength value. - - - - - * 默认Value=1 - - - - - 双精度转化为单精度,单位默认 - - - - - - 数字*或者直接数字或者auto - - - - - - The value is expressed as a pixel. - - - - - 该大小由内容对象的大小属性确定。 - - - - - 该值表示为可用空间的加权比例。 - - - - - 表示重新分布 Grid 控件的列间距或行间距的控件。 - - - - - 预览拖拽的颜色 - - - - - An event announcing that the splitter is no longer focused - - - - - This is the method that responds to the KeyDown event. - - Event Arguments - - - - Enum to indicate whether GridSplitter resizes Columns or Rows - - - - - Determines whether to resize rows or columns based on its Alignment and - width compared to height - - - - - Resize columns when dragging Splitter. - - - - - Resize rows when dragging Splitter. - - - - - Enum to indicate what Columns or Rows the GridSplitter resizes - - - - - Determine which columns or rows to resize based on its Alignment. - - - - - Resize the current and next Columns or Rows. - - - - - Resize the previous and current Columns or Rows. - - - - - Resize the previous and next Columns or Rows. - - - - - 定义一个带标题Header的组件 - - - - - 获取或设置标记控件的项 - - - - - It exposes scrolling properties, methods for logical scrolling, computing - which children are visible, and measuring/drawing/offsetting/clipping content. - - - - - Scroll content by one line to the top. - - - - - Scroll content by one line to the bottom. - - - - - Scroll content by one line to the left. - - - - - Scroll content by one line to the right. - - - - - Scroll content by one page to the top. - - - - - Scroll content by one page to the bottom. - - - - - Scroll content by one page to the left. - - - - - Scroll content by one page to the right. - - - - - Scroll content by one page to the top. - - - - - Scroll content by one page to the bottom. - - - - - Scroll content by one page to the left. - - - - - Scroll content by one page to the right. - - - - - Set the HorizontalOffset to the passed value. - An implementation may coerce this value into a valid range, typically inclusively between 0 and less . - - - - - Set the VerticalOffset to the passed value. - An implementation may coerce this value into a valid range, typically inclusively between 0 and less . - - - - - This property indicates to the IScrollInfo whether or not it can scroll in the vertical given dimension. - - - - - This property indicates to the IScrollInfo whether or not it can scroll in the horizontal given dimension. - - - - - ExtentWidth contains the full horizontal range of the scrolled content. - - - - - ExtentHeight contains the full vertical range of the scrolled content. - - - - - ViewportWidth contains the currently visible horizontal range of the scrolled content. - - - - - ViewportHeight contains the currently visible vertical range of the scrolled content. - - - - - HorizontalOffset is the horizontal offset into the scrolled content that represents the first unit visible. - - - - - VerticalOffset is the vertical offset into the scrolled content that represents the first unit visible. - - - - - ScrollOwner is the container that controls any scrollbars, headers, etc... that are dependant - on this IScrollInfo's properties. Implementers of IScrollInfo should call InvalidateScrollInfo() - on this object when properties change. - - - - - 滚动或者视口变化 - - - - - 事件列表,用于优化事件订阅内存 - - - - - 通过排序之后的索引或者源数据的索引 - - - - - - - 开始排序 - - - - - 排序 - - 比较器,如果设置了缓存属性,比较的参数就是属性值 - 缓存的属性 - 降序 - - - - 排序后的索引 - - - - - - - 排序之后index无效 - - - - - - - Items=... - - - - - 表示可用于呈现一组项的控件。 - - - - - - Item模板 - - - - - 创建模板的元素 - - - - - - 返回CPF.Controls.ItemCollection类型,可以直接将数据源设置过来 - - - - - 定义布局容器,初始化或者附加到可视化树之前设置 - - - - - 获取一个值,该值指示 ItemsControl 是否包含项。 - - - - - 显示的数据字段或属性 - - - - - 获取或设置 ItemsControl 中的交替项容器的数目,该控件可使交替容器具有唯一外观,通过附加数据AttachedExtenstions.AlternationIndex 读取循环的ID - - - - - 当使用交替项目容器时,设置项目容器的分配值 - - - - - - - 获取作为Item的UIElement - - - - - 存放Items的Panel - - - - - 判断是否是当前容器的特殊元素,比如TreeView中的TreeViewItem - - - - - - - 判断该元素是否在Item里,如果是则返回item,否则为null。比如,可以在ListBox的MouseDown里判断点击到的Item,参数用事件里的OriginalSource - - - - - - - 关键词样式 - - - - - 关键词或者正则表达式 - - - - - 是否为正则表达式 - - - - - 是否忽略大小写 - - - - - 样式ID - - - - - 表示控件的文本标签。 - - - - - 定义一个弹出层对话框,new LayerDialog { Width = 400, Height = 300, Content = new Button { Content = "测试" } }.ShowDialog(this); - - - - - 显示关闭按钮 - - - - - 点击遮罩层是否可以拖拽移动窗体 - - - - - 定义一个弹出层对话框,new LayerDialog { Width = 400, Height = 300, Content = new Button { Content = "测试" } }.ShowDialog(this); - - - - - 弹出对话框 - - - - - - 是否播放弹出层动画 - - - - - 关闭对话框 - - - - - 包含可选项列表 - - - - - 选择行为,单选,多选方式 - - - - - 是否虚拟化UI,只支持StackPanel的虚拟化数据显示。初始化之前设置 - - - - - 虚拟模式下元素使用方式 - - - - - 鼠标选中方式 - - - - - 选中方式 - - - - - 表示 ListBox 中的可选项。 - - - - - 是否被选中 - - - - - 获取包含此项目的 ListBox 控件。 - - - - - 索引ID - - - - - 定义一个加载动画的弹出层 - - - - - 提示消息 - - - - - 表示 Menu 内某个可选择的项。 - - - - - 获取或设置一个值,该值指示在单击此 MenuItem 时,该项所在的子菜单不应关闭。 - - - - - 获取或设置标记控件的项 - - - - - 显示在 MenuItem 中的图标 - - - - - 获取一个指示是否可选中 MenuItem 的值。 - - - - - 获取或设置一个指示是否选中 MenuItem 的值 - - - - - 获取或设置用于显示控件标头的内容的模板。 - - - - - 获取或设置是否显示子菜单 - - - - - 所在的ContextMenu - - - - - #MenuPop - - - - - 弹窗提示 - - - - 如果为null,则使用当前激活的窗体 - - - - 弹窗提示,可阻塞当前方法 - - - - 如果为null,则使用当前激活的窗体 - - - - - 为允许选择多项的控件提供抽象类。 - - - - - - 获取当前选定的项。 - - - - - 获取或者设置当前选定的项索引 - - - - - 获取或者设置当前选定的项的第一个索引 - - - - - 获取或设置用于从 SelectedValue 获取 SelectedItem 的路径。 - - - - - 获取或设置通过使用 SelectedItem 而获取的 SelectedValuePath 的值。如果数据量大不建议用这个来设置,如果是多选的时候,类型是IEnumerable数据,可以遍历获取 - - - - - 选择更改时发生 - - - - - 用于内嵌原生控件,一般来说原生控件无法使用渲染变换,无法调整ZIndex,只能在最前端,可能无法透明。一般尽可能少用该控件 - - - - - 用于内嵌原生控件,一般来说原生控件无法使用渲染变换,无法调整ZIndex,只能在最前端,可能无法透明。一般尽可能少用该控件 - - - - - 设置对应平台的控件句柄 - - - - - 背景色,有些平台可能无法透明 - - - - - 指定可在通知区域创建图标的组件,部分Linux可能不支持 - - - - - 指定可在通知区域创建图标的组件,部分Linux可能不支持 - - - - - 内部实现 - - - - - 鼠标移入显示的文字提示 - - - - - 显示的图标 - - - - - 右键菜单 - - - - - 是否显示 - - - - - 表示显示数值的 Windows 数字显示框(也称作 up-down 控件)。 - - - - - 控制点击一次向上或者向下小按钮数字输入框值的增减大小 - - - - - 字符串转double转换器 - - - - - double转字符串转换器 - - - - - 页面管理,Pages里加多个页面,切换显示 - - - - - 当前显示的页面索引 - - - - - 添加的页面 - - - - - 可以返回 - - - - - 可以前进 - - - - - 上一页 - - - - - 下一页 - - - - - 为所有 Panel 元素提供基类。 使用 Panel 元素放置和排列UIElement,对于Panel的继承者的子对象的如果尺寸超过Panel对齐方式是左上角而不是居中 - - - - - 背景填充 - - - - - Gets or sets the font family used to draw the control's text. - - - - - Gets or sets the size of the control's text in points. - - - - - Gets or sets the font style used to draw the control's text. - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color] - - - - - Gets or sets the brush used to draw the control's text and other foreground elements. - - - - - 边框线条填充 - - - - - 获取或设置线条类型 - - - - - 四周边框粗细 - - - - - 获取或设置一个值,该值表示将 Border 的角倒圆的程度。 - - - - - 边框类型 - - - - - 定义一个控件组,一般由多个元素组成,在设计器中,子元素和该控件为一个控件组,点击子元素拖动时,将作为整体拖动整个控件组。 - - - - - 子元素 - - - - - 显示图像,支持路径、Url、Image、Bitmap、Stream、byte[]、支持GIF播放 - - - - - 显示图像,支持路径、Url、Image、Bitmap、Stream、byte[]、支持GIF播放 - - - - - 图片源,可以是路径、Url、Drawing.Image对象、Stream、byte[] - - - - - 图片缩放模式 - - - - - 描述如何对内容应用缩放,并限制对已命名像素类型的缩放。 - - - - - 获取加载成功了的图片 - - - - - - 播放GIF - - - - - 停止播放gif - - - - - This is a helper function that computes scale factors depending on a target size and a content size - - Size into which the content is being fitted. - Size of the content, measured natively (unconstrained). - Value of the Stretch property on the element. - Value of the StretchDirection property on the element. - - - - 图片加载失败 - - - - - 内容保持其原始大小。 - - - - - 调整内容大小以填充目标尺寸。 不保留纵横比。 - - - - - 在保留内容原有纵横比的同时调整内容的大小,以适合目标尺寸。 - - - - - 在保留内容原有纵横比的同时调整内容的大小,以填充目标尺寸。 如果目标矩形的纵横比不同于源矩形的纵横比,则对源内容进行剪裁以适合目标尺寸。 - - - - - 内容仅在小于父级时扩展。 如果内容较大,则不执行缩放。 - - - - - 内容仅在大于父级时缩放。 如果内容较小,则不会执行任何扩展。 - - - - - 内容根据 Stretch 模式进行拉伸以适合父项的大小。 - - - - - 弹窗 - - - - - 弹窗 - - - - - 获取或设置当打开 Popup 控件时该控件相对于其放置的元素。 - - - - - 获取或设置一个值,该值指示当 Popup 控件焦点不再对准时,是否关闭该控件。 - - - - - 获取或设置 Popup 控件打开时的控件方向,并指定 Popup 控件在与屏幕边界重叠时的控件行为 - - - - - Popup 控件的位置,该位置相对于屏幕的左上角,且在由 Margin 的属性值定义的偏移量处。 - - - - - Popup 控件的位置,即控件边缘与鼠标边缘对齐。 如果屏幕边缘遮盖 Popup,则控件会重新定位自身,使其与屏幕上边缘对齐。百分比参考自身尺寸 - - - - - 相对PlacementTarget元素外边距,需要设置相邻的两个Margin值,百分比参考自身尺寸。如果屏幕边缘遮盖 Popup,则控件会重新定位自身,使其与屏幕上边缘对齐。 - - - - - 相对PlacementTarget元素内边距,需要设置相邻的两个Margin值,百分比参考PlacementTarget尺寸。如果屏幕边缘遮盖 Popup,则控件会重新定位自身,使其与屏幕上边缘对齐。 - - - - - 指示操作进度。 - - - - - 获取或设置 ProgressBar 是显示实际值,还是显示一般的连续进度反馈。 - - - - - 表示可由用户选择但不能清除的按钮。 可以通过单击来设置 IsChecked 的 RadioButton 属性,但只能以编程方式清除该属性。 - - - - - 通过该属性对RadioButton分组,通过Root.GetRadioButtonValue()获取分组的选中值 - - - - - 表示具有特定范围内的值的元素。 - - - - - 最小值 - - - - - 最大值 - - - - - 当前值 - - - - - 表示从按下按钮到释放按钮的时间内重复引发其 Click 事件的控件。 - - - - - 延迟操作 - - - - - Specifies the amount of time, in milliseconds, between repeats once repeating starts. - Must be non-negative - - - - - Starts a _timer ticking - - - - - Stops a _timer that has already started - - - - - This is the handler for when the repeat _timer expires. All we do - is invoke a click. - - Sender of the event - Event arguments - - - - An event reporting the mouse entered this element. - - Event arguments - - - - An event reporting the mouse left this element. - - Event arguments - - - - An event reporting that the IsMouseOver property changed. - - - - - This is the method that responds to the KeyDown event. - - - - - - This is the method that responds to the KeyUp event. - - - - - - 定义Grid的行 - - - - - 权重*或者数值 - - - - - 滚动条 - - - - - 滚动条方向 - - - - - 滚动条 - - - - - 视图大小,用来计算Thumb占用比例 - - - - - 减 - - - - - 加 - - - - - 减 - - - - - 加 - - - - - Control/Layout should be horizontally oriented. - - - - - Control/Layout should be vertically oriented. - - - - - 显示 ScrollViewer 控件的内容。 - - - - - 获取或设置 单一子元素。 - - - - - 表示可包含其他可视元素的可滚动区域。 - - - - - 获取或设置一个值,该值指示是否应显示水平 ScrollBar。 - - - - - 获取或设置一个值,该值指示是否应显示垂直 ScrollBar。 - - - - - 水平 ScrollBar 是否可见。 - - - - - 垂直 ScrollBar 是否可见。 - - - - - 获取包含盘区垂直大小的值 - - - - - 获取包含盘区水平大小的值 - - - - - ViewportWidth contains the horizontal size of the scrolling viewport. - - - ExtentWidth is only an output property; it can effectively be set by specifying - Width on this element. - - - - - ViewportHeight contains the vertical size of the scrolling viewport. - - - ViewportHeight is only an output property; it can effectively be set by specifying - Height on this element. - - - - - Scroll content by one line to the top. - - - - - Scroll content by one line to the bottom. - - - - - Scroll content by one line to the left. - - - - - Scroll content by one line to the right. - - - - - Scroll content by one page to the top. - - - - - Scroll content by one page to the bottom. - - - - - Scroll content by one page to the left. - - - - - Scroll content by one page to the right. - - - - - 垂直偏移,0到ExtentHeight-ViewportHeight - - - - - 垂直最大值 - - - - - 水平最大值 - - - - - 水平偏移,0到ExtentWidth-ViewportWidth - - - - - No scrollbars and no scrolling in this dimension. - - - - - The scrollbar should be visible only if there is more content than fits in the viewport. - - - - - The scrollbar should never be visible. No space should ever be reserved for the scrollbar. - - - - - The scrollbar should always be visible. Space should always be reserved for the scrollbar. - - - - - 用户可以按下 Shift 键来选择多个连续项。 - - - - - 用户可以选择多个项而无需按下修改键。 - - - - - 用户一次只能选择一项。 - - - - - 定义指定 DataGrid 控件支持单项选择还是多项选择的常数 - - - - - 定义指定单元格、 行或两者,是否用于 DataGrid 空间中的选择的常数。 - - - - - 分割线 - - - - - 分割线 - - - - - 表示一个控件,该控件可让用户通过沿 Thumb 移动 Track 控件从一个值范围中进行选择。 - - - - - 减 - - - - - 加 - - - - - 减 - - - - - 加 - - - - - 布局方向 - - - - - 获取或设置与 Track 的 Slider 相关的刻度线的位置。 - - - - - 如果增加值的方向向左(对于水平滑块)或向下(对于垂直滑块),则为 true;否则为 false。 默认值为 false。 - - - - - 获取或设置在按下 RepeatButton 之后等待执行用于移动 Thumb 的命令(如 DecreaseLarge 命令)的时间(以毫秒为单位)。 - - - - - 获取或设置当用户单击 RepeatButton 的 Slider 时增加或减少命令之间的时间量(以毫秒为单位) - - - - - 获取或设置一个值,该值指示 Slider 是否自动将 Thumb 移动到最近的刻度线 - - - - - 刻度线之间的距离。 默认值为 (1.0)。 - - - - - 获取或设置刻度线的位置。 - - - - - 获取或设置一个值,该值指示是否立即将 Slider 的 Thumb 移动到在鼠标指针悬停在 Slider 轨道的上方时鼠标单击的位置。 - - - - - Gets or sets reference to Slider's Track element. - - - - - Called when user dragging the Thumb. - This function can be override to customize the way Slider handles Thumb movement. - - - - - - Helper function for value update. - This function will also snap the value to tick, if IsSnapToTickEnabled is true. - - - - - - Snap the input 'value' to the closest tick. - If input value is exactly in the middle of 2 surrounding ticks, it will be snapped to the tick that has greater value. - - Value that want to snap to closest Tick. - Snapped value if IsSnapToTickEnabled is 'true'. Otherwise, returns un-snaped value. - - - - Perform arrangement of slider's children - - - - - - Resize and resposition the SelectionRangeElement. - - - - - Placement options for Slider's Tickbar - - - - - No TickMark - - - - - Show TickMark above the Track (for HorizontalSlider), or left of the Track (for VerticalSlider) - - - - - Show TickMark below the Track (for HorizontalSlider), or right of the Track (for VerticalSlider) - - - - - Show TickMark on both side of the Track - - - - - 将子元素排列成水平或垂直的一行 - - - - - 布局方向 - - - - - 左右切换的按钮 - - - - - 打开时候显示的背景色 - - - - - 关闭时候显示的背景色 - - - - - 定义一个系统按钮 - - - - - 默认路径 - - - - - 保存文件对话框 - - - - - 保存文件对话框 - - - - - 打开文件对话框 - - - - - 打开文件对话框 - - - - - 多选 - - - - - 打开目录对话框 - - - - - 打开目录对话框 - - - - - 如果按取消按钮是返回空字符串 - - - - - - - 文件筛选描述 - - - - - 筛选分类名 - - - - - png,jpg - - - - - 表示包含多个项的控件,这些项共享屏幕上的同一空间。 - - - - - 获取或设置当前选择中第一项的索引,如果选择为空,则返回负一(-1) - - - - - 获取,如果选择为空,则返回 null - - - - - 选项卡标题相对于选项卡内容的对齐方式 - - - - - TabItem内容集合 - - - - - 切换选项卡动作, TabItem oldItem, TabItem newItem - - - - - 切换选项卡动作 - - - - - - - 表示 TabControl 内某个可选择的项 - - - - - 获取,该值指示是否选择 TabItem。 - - - - - 获取或设置每个控件的标题所用的数据。 - - - - - 获取或设置用于显示控件标头的内容的模板。 - - - - - 内容的UI元素对象 - - - - - 文本显示 - - - - - 文本对齐方式 - - - - - 背景填充 - - - - - 字体名称 - - - - - 字体尺寸 - - - - - 字体样式 - - - - - 前景色 - - - - - 文字描边 - - - - - 文字描边 - - - - - 文本裁剪 - - - - - 文本在垂直方向的对齐方式 - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough/none [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color] - - - - - 布局后的文本尺寸 - - - - - 描述内容在垂直反向的对齐方式 - - - - - 表示一个控件,该控件可用于显示或编辑无格式文本。 - - - - - 文本对齐方式 - - - - - 获取或设置一个值,该值指示在用户按 ENTER 键时文本编辑控件如何响应。如果按 Enter 键会在当前光标位置插入一个新行,则为 true;否则将忽略 Enter 键 - - - - - 如果按 Tab 键会在当前光标位置插入一个制表符,则为 true;如果按 Tab 键会将焦点移动到标记为制表位的下一个控件且不插入制表符,则为 false - - - - - 获取或设置用于绘制文本框的插入符号的画笔 - - - - - 获取或设置会突出显示选定文本的画笔。 - - - - - 获取或设置一个值,此值定义用于所选文本的画笔。 - - - - - 获取或设置一个值,该值指示是否应显示水平 ScrollBar。 - - - - - 获取或设置一个值,该值指示是否应显示垂直 ScrollBar。 - - - - - 密码模式的代替字符 - - - - - 最大长度,为0的时候不限 - - - - - 选中的结束位置 - - - - - 光标位置,或者选中的开始位置 - - - - - 获取或设置一个值,该值指示文本编辑控件对于与该控件交互的用户是否是只读的 - - - - - 获取或设置一个值,该值指示文本编辑控件是否支持撤消功能 - - - - - 获取或设置存储在撤消队列中的操作的数目。 默认值为-1, 表示撤消队列限制为可用的内存。 - - - - - 是否允许粘贴图片 - - - - - 文本内容 - - - - - 是否启用输入法,主要描述的是中文这类输入法 - - - - - 自动换行 - - - - - 关键词样式集合 - - - - - 样式 - - - - - 在文本元素中的内容改变时发生. - - - - - 文档对象,用于描述复杂内容 - - - - - 末尾加一段文字 - - - - - - 插入文字,index小于0则是末尾加 - - - - - - - - 插入图片,index小于0则是末尾加 - - - - - - - 内部TextBoxView - - - - - 全选 - - - - - 获取选中的内容 - - - - - - 获取选中的内容 - - - - - - 根据鼠标位置计算索引位置 - - - 返回结果 - - - - 根据鼠标位置计算点击到的元素 - - - - - - - 滚动到最底下 - - - - - 是否是多字节字符 - - - - - - - 移除选中的内容 - - - - - - Check if the given char is of Asian range.检查出的字符是亚洲范围。 - - the character to check - true - Asian char, false - otherwise - - - - Check if the given char is a digit character (0-9) and (0-9, a-f for HEX) - - the character to check - optional: is hex digit check - true - is digit, false - not a digit - - - - 判断字符是否为字母 - - - - - - - Convert the given char to digit. - - the character to check - optional: is hex digit check - true - is digit, false - not a digit - - - - TextBox内部容器 - - - - - 获取索引处坐标 - - - - - - - - 对比,大于0,第一个参数在第二个参数后面 - - - - - - - - 表示可由用户拖动的控件 - - - - - 表示可由用户拖动的控件 - - - - - 是否在拖拽中 - - - - - This method cancels the dragging operation. - - - - - The point where the mouse was clicked down (Thumb's co-ordinate). - - - - - The position of the mouse (screen co-ordinate) where the mouse was clicked down. - - - - - The position of the mouse (screen co-ordinate) when the previous DragDelta event was fired - - - - - Add / Remove DragStartedEvent handler - - - - - Add / Remove DragDeltaEvent handler - - - - - Add / Remove DragCompletedEvent handler - - - - - This is an instance constructor for the DragStartedEventArgs class. It - is constructed with a reference to the event being raised. - - Nothing. - - - - Read-only access to the horizontal offset (relative to Thumb's co-ordinate). - - - - - Read-only access to the vertical offset (relative to Thumb's co-ordinate). - - - - - This is an instance constructor for the DragDeltaEventArgs class. It - is constructed with a reference to the event being raised. - - Nothing. - - - - Read-only access to the horizontal change. - - - - - Read-only access to the vertical change. - - - - - This is an instance constructor for the DragCompletedEventArgs class. It - is constructed with a reference to the event being raised. - - Nothing. - - - - Read-only access to the horizontal distance between the point where mouse's left-button - was pressed and the point where mouse's left-button was released - - - - - Read-only access to the vertical distance between the point where mouse's left-button - was pressed and the point where mouse's left-button was released - - - - - Read-only access to boolean states whether the drag operation was canceled or not. - - - - - - 表示一个控件,该控件为 Slider 控件绘制一组刻度线。 - - - - - 最小值 - - - - - 最大值 - - - - - 获取或设置选择的起点。选择值范围中的第一个值。 默认值为-1.0。 - - - - - 获取或设置选择的终点。选择值范围中的最后一个值。 默认值为-1.0。 - - - - - 获取或设置刻度线之间的间隔。刻度线之间的距离。 默认值为一 (1.0) 。 - - - - - 获取或设置一个值,该值指示 Slider 是否沿 Slider 显示选择范围 - - - - - 获取或设置刻度线的位置。 - - - - - 获取或设置刻度线的增加值的方向。 - - - - - 刻度线相对于该控件实现的 Track 的位置 - - - - - 获取或设置包含为 TickBar 指定的刻度线的区域的空间缓冲区。 - - - - - Position this tick at the left of target element. - - - - - Position this tick at the top of target element. - - - - - Position this tick at the right of target element. - - - - - Position this tick at the bottom of target element. - - - - - 表示一个允许用户选择时间的控件。 - - - - - 设置最小的时间范围 - - - - - 设置最大时间的范围 - - - - - 选中的时间 - - - - - 可切换状态的控件基类 - - - - - 获取或设置是否选中 - - - - - 决定控件是支持两种状态还是支持三种状态。 - - - - - 表示一个处理 Thumb 控件的定位和大小调整的控件基元 - - - - - 表示一个处理 Thumb 控件的定位和大小调整的控件基元 - - - - - Calculate the value from given Point. The input point is relative to TopLeft conner of Track. - - Point (in Track's co-ordinate). - - - - This function returns the delta in value that would be caused by moving the thumb the given pixel distances. - The returned delta value is not guaranteed to be inside the valid Value range. - - Total horizontal distance that the Thumb has moved. - Total vertical distance that the Thumb has moved. - - - - The RepeatButton used to decrease the Value 减 - - - - - The Thumb in the Track - - - - - The RepeatButton used to increase the Value 加 - - - - - This property represents the Track layout orientation: Vertical or Horizontal. - On vertical ScrollBars, the thumb moves up and down. On horizontal bars, the thumb moves left to right. - - - - - The Minimum value of the Slider or ScrollBar - - - - - The Maximum value of the Slider or ScrollBar - - - - - The current value of the Slider or ScrollBar - - - - - ViewportSize is the amount of the scrolled extent currently visible. For most scrolled content, this value - will be bound to one of 's ViewportSize properties. - This property is in logical scrolling units. - - Setting this value to NaN will turn off automatic sizing of the thumb - - - - - Indicates if the location of the DecreaseRepeatButton and IncreaseRepeatButton - should be swapped. - - - - - The desired size of a Track is the width (if vertically oriented) or height (if horizontally - oriented) of the Thumb. - - When ViewportSize is NaN: - The thumb is measured to find the other dimension. - Otherwise: - Zero size is returned; Track can scale to any size along its children. - This means that it will occupy no space (and not display) unless made larger by a parent or specified size. - - - - - - Children will be stretched to fit horizontally (if vertically oriented) or vertically (if horizontally - oriented). - - There are essentially three possible layout states: - 1. The track is enabled and the thumb is proportionally sizing. - 2. The track is enabled and the thumb has reached its minimum size. - 3. The track is disabled or there is not enough room for the thumb. - Track elements are not displayed, and will not be arranged. - - - - - - 表示一个控件,该控件在树结构(其中的项可以展开和折叠)中显示分层数据。 - - - - - 获取或设置用于显示控件标头的内容的模板。 - - - - - 获取或设置源对象上某个值的路径,该值作为对象的子节点。 - - - - - 选择更改时发生 - - - - - 获取所有节点,包括子孙后代 - - - - - - TreeViewItem的内容模板 - - - - - 当前的TreeViewItem - - - - - 在 TreeView 控件中实现可选择的项。 - - - - - 获取或设置 TreeViewItem 中的嵌套项是处于展开状态还是折叠状态。 - - - - - 获取,该值指示是否选中 - - - - - 获取或设置标记控件的项 - - - - - 获取或设置用于显示控件标头的内容的模板。 - - - - - 获取或设置源对象上某个值的路径,该值作为对象的子节点。 - - - - - 父节点 - - - - - 获取 TreeView 控件中的树视图的深度(从零开始)。 - - - - - 单选,将当前元素选中,其他元素取消选择 - - - - - 选中并展开所有父节点 - - - - - 展开 TreeViewItem 控件及其所有子 TreeViewItem 元素。 - - - - - 基础视图 - - - - - 当前有效的所有视图 - - - - - 这种方式不会调用CreateView(); - - - - - - 渲染缩放比例 - - - - - 布局坐标缩放,用于窗体在屏幕和鼠标位置的定位 - - - - - 视图位置,像素坐标 - - - - - 渲染整个视图 - - - 剪辑区域 - - - - 当前视图内RadioButton的值 - - - - - - - 样式集合 - - - - - 清除原来样式,拷贝view样式过来 - - - - - - css样式,比如 Button{Background:rgb(0,142,244);} #Test{Background:rgb(0,142,244);} - - - 附加还是替换 - 用于开发者工具记录的文件路径,可以不设置 - - - - 内部元素初始化,内部所有元素都会调用这个,可以用来代替CSS实现复杂的属性或者模板设置,重写必须保留base.OnElementInitialize。设置Control的Template来替换模板,就需要在base.OnElementInitialize之前,对于非Control的,元素复用的话,每次添加到元素树的时候都会触发 - - - - - 加载样式文件,可以是内嵌,或者在线或者本地的,文件需要是utf8编码 - - - - - - - 子元素 - - - - - 视图所在的屏幕 - - - - - 绑定RadioButton分组的值,只能在View里使用 - - - - - 绑定RadioButton分组的值,只能在View里使用,默认是用RadioButton的Content作为绑定值 - - - 用RadioButton的DataContext作为绑定的值,默认是用RadioButton的Content - - - - 用RadioButton的DataContext作为绑定的值,默认是用RadioButton的Content - - - - - 定义一个内容修饰器,以便拉伸或缩放单一子项使其填满可用的控件。 - - - - - 定义一个内容修饰器,以便拉伸或缩放单一子项使其填满可用的控件。 - - - - - 获取或设置 ViewboxStretch 模式,该模式确定内容适应可用空间的方式。 - - - - - 获取或设置 StretchDirection,它确定缩放如何应用 Viewbox 的内容。 - - - - - This is a helper function that computes scale factors depending on a target size and a content size - - Size into which the content is being fitted. - Size of the content, measured natively (unconstrained). - Value of the Stretch property on the element. - Value of the StretchDirection property on the element. - - - - 用来管理子项虚拟化的方法 - - - - - 创建并放弃项容器。 Standard virtualization mode -- containers are thrown away when offscreen. - - - - - 重用项容器。 Recycling virtualization mode -- containers are re-used when offscreen. - - - - - 虚拟化容器,采用第一个元素来计算元素尺寸,自定义模板最好用固定尺寸的 - - - - - - 用来自定义虚拟模式,调整自定义模板里的尺寸,实现正常的虚拟化呈现。模板里要根据数据来修改尺寸,否则可能会对应不上。 - - 返回默认尺寸和自定义尺寸,index:数据里的索引,不能有重复index,size:呈现尺寸。 自定义尺寸可以为null,默认尺寸不能小于等于0,没有在自定义尺寸里的数据使用默认尺寸 - - - - 对元素设置数据之后 - - - - - - 对元素设置数据之后 - - - - - 开始ID - - - - - 当前显示的数量 - - - - - 用来自定义虚拟模式,调整自定义模板里的尺寸,实现正常的虚拟化呈现 - - - - - 用来自定义虚拟模式,调整自定义模板里的尺寸,实现正常的虚拟化呈现。模板里要根据数据来修改尺寸,否则可能会对应不上。返回默认尺寸和自定义尺寸,index:数据里的索引,不能有重复index,size:呈现尺寸,必须大于默认值。 自定义尺寸可以为null,默认尺寸不能小于等于0,没有在自定义尺寸里的数据使用默认尺寸 - - - - - 默认尺寸,必须大于0 - - - - - index:数据里的索引,不能有重复index,size:呈现尺寸。 自定义尺寸可以为null,没有在自定义尺寸里的数据使用默认尺寸 - - - - - 顶级窗体 - - - - - 获取当前存在的所有窗体 - - - - - 窗体标题 - - - - - 拖拽移动窗体,里面任意元素的MouseDown调用该方法就可以移动窗体 - - - - - 开始拖拽时候窗体位置 - - - - - 开始拖拽时候鼠标位置 - - - - - 正在拖拽移动中 - - - - - 拖拽的边缘厚度 - - - - - 关闭窗体 - - - - - 窗体所在的屏幕 - - - - - 是否是主窗体 - - - - - 模态显示,如果owner为null,将禁用之前打开的所有窗体,否则只禁用owner。 需要有主窗体的情况下才能使用 - - - - - - 对话框,同步方式,阻塞当前方法 - - - - - - - 如果是模态,设置该属性自动关闭模态窗体 - - - - - 通用窗体框架,包含窗体边框,系统按钮,阴影这些元素 - - - - - 通用窗体框架,包含窗体边框,系统按钮,阴影这些元素 - - 绑定的窗体 - - 系统按钮,一般加SystemButton - - - - 是否显示最大化还原按钮 - - - - - 是否显示最小化 - - - - - 关联的窗体 - - - - - 窗体的内容 - - - - - 系统按钮集合 - - - - - 阴影宽度 - - - - - 显示标题栏图标 - - - - - 通用窗体接口 - - - - - 正常 - - - - - 最小化 - - - - - 最大化 - - - - - 全屏 - - - - - 按从左到右的顺序位置定位子元素,在包含框的边缘处将内容切换到下一行。 后续排序按照从上至下或从右至左的顺序进行,具体取决于 Orientation 属性的值。 - - - - - 默认值float.NaN - - - - - 默认值float.NaN - - - - - - - - - - - - - - - 默认所有属性都是依赖属性,如果不想作为依赖属性,属性上加上[NotCpfProperty]特性。不能使用new来覆盖已经定义为依赖属性的属性,最多255个依赖属性 - - - - - 继承属性的特性 - - - - - 用于设置附加属性,和绑定附加属性 - - - - - 设置绑定 - - - - - 设置命令 - - - - - - - - 读取或者设置附加属性,参数必须是附加属性 - - - - - - - 用于初始化计算属性,请不要调用和重写,内部使用 - - - - - - 该类型的第一个对象构造的时候调用,重写属性元数据,一般重写属性的代码写在base.OnOverrideMetadata后面 - - - - - - 绑定的数据上下文 - - - - - 绑定的命令上下文 - - - - - 当前对象的类型 - - - - - 附加属性更改时发生 - - 所注册在的类型 - - - - - - - - 注册附加属性 - - - 默认值 - 所注册在的类型 - 属性变化回调 - 属性名一般不用设置,VS自动设置 - - - - - 获取有LocalValue的属性和值 - - - - - - 设置属性值 - - - - - 设置属性值是否成功 - - - - 内部使用,请勿调用 - - - - - - - - 一般不建议在这里处理属性通知,建议用PropertyChanged特性来注册属性通知。 - - - - - - - - - 触发INotifyPropertyChanged的PropertyChanged事件 - - - - - - 当要设置属性值的时候,返回值为true的时候将设置值 - - - - 返回值为true的时候将设置值 - - - - 清除本地值 - - - - - - 获取属性值 - - - - - - - - 内部使用,请勿调用 - - - - - - - 内部使用,请勿调用 - - - - - - - 获取默认值 - - - - - - - 是否已经设置了本地值 - - - - - - - 触发事件 - - EventArgs类型要和事件的数据类型对应 - - - - - 当有属性更改之后发生 - - - - - 事件列表,用于优化事件订阅内存 - - - - - 为指定的事件添加事件处理程序,并将该处理程序添加到当前元素的处理程序集合中。 - - - - - - - 从此元素中删除指定的路由事件处理程序。 - - - - - - - 是否包含这个依赖属性 - - - - - - - 不为null而且没有释放,则返回true - - - - - - 克隆依赖属性和绑定 - - - - - - 将依赖属性本地值和绑定拷贝到另外个对象 - - - 是否覆盖已经存在的本地值 - - - - 订阅通知 - - - - - - - 取消订阅类 - - - - - 不使用属性管理 - - - - - 属性元数据,设置默认值,必须显示转换 - - - - - 设置默认值,必须显示转换 - - - - - - 设置默认值,通过设定的类型和字符串转换 - - - - - - - 默认值 - - - - - 属性值类型 - - - - - 属性名 - - - - - 属性通知 - - - - - UI属性元数据,设置默认值,必须显示转换 - - - - - UI属性元数据 - - 默认值 - 属性值是否继承父级容器 - - - - UI属性元数据 - - - - - - - - UI属性元数据 - - 默认值 - 属性变化之后的操作,支持位运算组合 - - - - UI属性元数据 - - 属性值类型 - 默认值 - 属性变化之后的操作,支持位运算组合 - - - - 属性变化之后的操作 - - - - - 属性值是否继承父级容器 - - - - - 属性变化是否需要重新布局 - - - - - 重新计算元素尺寸 - - - - - 属性变化是否需要重新绘制 - - - - - 指示是否被释放了 - - - - - 属性元数据重写 - - - - - 属性元数据重写 - - - - - - - 属性变化之后的操作 - - - - No flags - - - This property affects measurement - - - This property affects arragement - - - This property affects rendering - - - This property inherits to children - - - - 获取或者设置附加属性值 - - - - - - - - - CpfObject obj, string propertyName, object defaultValue, object oldValue, ref object newValue - - - - - - - - - - 属性通知回调 - - - - - - - - - 定义该方法为属性通知方法,支持绑定多个,方法类型 void Method(object newValue, object oldValue, CPF.PropertyMetadataAttribute attribute) - - - - - 定义该方法为属性通知方法,方法类型 void Method(object newValue, object oldValue, CPF.PropertyMetadataAttribute attribute) - - 属性名 - - - - 通知的属性名 - - - - - 由对象池管理,请勿在属性变化事件之外保留引用 - - - - - 创建一个可回收的CPFPropertyChangedEventArgs - - - - - - - - - - 属性名 - - - - - 旧值 - - - - - 新值 - - - - - 属性元数据 - - - - - 是否被回收,被回收了的,不能在外边保留引用 - - - - - 回收对象 - - - - - 用Cursors.****来设置 - - - - - 是否是标准的光标样式 - - - - - 标准光标样式 - - - - - 将二进制数据反序列化 - - - - - - - 将对象序列化为二进制数据 - - - - - - - 用于给控件模板设计预览的时候加载样式 - - - - - 设计时项目路径 - - - - - 用于给控件模板设计预览的时候加载样式 - - 样式路径 - - - - 样式路径 - - - - - RenderToBitmap=true,图像渲染到这个位图里,界面将不显示 - - - - - 用于定义设计器中属性的文件浏览功能 - - - - - 设置文件类型,后缀名 .jpg;.png; - - .jpg;.png; - - - - 后缀名 .jpg;.png; - - - - - 定义类型序列化为C#代码 - - - - - 获取对象构造的C#代码 - - - - - - 双通道,支持双向侦听,非Message模式 - - - - - 等待连接 - - 客户端模式超时 - 使用接收事件 - - - - 块级元素,类似于网页的 DIV - - - - - 子元素 - - - - - 背景填充 - - - - - 布局好的行 - - - - - 添加一段文字 - - - - 字符数量 - - - - 插入文字 - - - - - 字符数量 - - - - 限定布局宽度,自动换行或者居中或者右靠的时候有用 - - - - - 自动换行 - - - - - 外间距 - - - - - 内间距 - - - - - 文本对齐方式 - - - - - 布局好的行 - - - - - 是否为新行也就是上一个以\n结尾的 - - - - - 文档样式 - - - - - 只缓存字体 - - - - - - - - - - 定义一个文档字符 - - - - - 定义一个文档字符 - - - - - - 是否可以被选中 - - - - - - 布局之后的尺寸 - - - - - 布局之后的尺寸 - - - - - 文档元素样式 - - - - - 文档元素样式 - - - - - 背景填充 - - - - - 字体名称 - - - - - 字体尺寸 - - - - - 字体样式 - - - - - 前景色 - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough/none [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color] - - - - - 指定文本和用户界面 (UI) 元素的内容流动方向 - - - - - 自动,继承上一个元素 - - - - - 指示内容应从左向右流动。 - - - - - 指示内容应从右向左流动 - - - - - 是否可以被选中 - - - - - - 文档元素容器 - - - - - 子元素是否可以选择 - - - - - 布局好的行 - - - - - 文档元素 - - - - - 样式ID,如果小于0 则使用父容器的样式 - - - - - 计算布局并获取最终尺寸 - - - - - - - - 布局之后的最终位置 - - - - - 布局之后的最终位置 - - - - - 布局之后的尺寸 - - - - - 布局之后的尺寸 - - - - - 右边间距 - - - - - 下边间距 - - - - - 尺寸计算是否有效,下次需要时重新计算尺寸 - - - - - 字体名称 - - - - - 字体尺寸 - - - - - 字体样式 - - - - - 前景填充 - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough/none [width[,Solid/Dash/Dot/DashDot/DashDotDot]] [color] - - - - - 流动方向 - - - - - 分块 - - - - - 流动方向 - - - - - 将UIElement作为文档里的元素布局,元素控件不能使用百分比尺寸 - - - - - 将UIElement作为文档里的元素布局,元素控件不能使用百分比尺寸 - - - - - 获取获取相对于文档的位置 - - - - - - 布局之后的尺寸,包含margin - - - - - 布局之后的尺寸,包含margin - - - - - 定义一个多Char的字符对象,比如:Unicode 里的表情:😁 - - - - - 定义一个文档字符 - - - - - - 是否可以被选中 - - - - - - 布局之后的尺寸,包含margin - - - - - 布局之后的尺寸,包含margin - - - - - AreClose - Returns whether or not two doubles are "close". That is, whether or - not they are within epsilon of each other. Note that this epsilon is proportional - to the numbers themselves to that AreClose survives scalar multiplication. - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. This is important enough to repeat: - NB: NO CODE CALLING THIS FUNCTION SHOULD DEPEND ON ACCURATE RESULTS - this should be - used for optimizations *only*. - - - bool - the result of the AreClose comparision. - - The first double to compare. - The second double to compare. - - - - LessThan - Returns whether or not the first double is less than the second double. - That is, whether or not the first is strictly less than *and* not within epsilon of - the other number. Note that this epsilon is proportional to the numbers themselves - to that AreClose survives scalar multiplication. Note, - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. This is important enough to repeat: - NB: NO CODE CALLING THIS FUNCTION SHOULD DEPEND ON ACCURATE RESULTS - this should be - used for optimizations *only*. - - - bool - the result of the LessThan comparision. - - The first double to compare. - The second double to compare. - - - - GreaterThan - Returns whether or not the first double is greater than the second double. - That is, whether or not the first is strictly greater than *and* not within epsilon of - the other number. Note that this epsilon is proportional to the numbers themselves - to that AreClose survives scalar multiplication. Note, - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. This is important enough to repeat: - NB: NO CODE CALLING THIS FUNCTION SHOULD DEPEND ON ACCURATE RESULTS - this should be - used for optimizations *only*. - - - bool - the result of the GreaterThan comparision. - - The first double to compare. - The second double to compare. - - - - LessThanOrClose - Returns whether or not the first double is less than or close to - the second double. That is, whether or not the first is strictly less than or within - epsilon of the other number. Note that this epsilon is proportional to the numbers - themselves to that AreClose survives scalar multiplication. Note, - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. This is important enough to repeat: - NB: NO CODE CALLING THIS FUNCTION SHOULD DEPEND ON ACCURATE RESULTS - this should be - used for optimizations *only*. - - - bool - the result of the LessThanOrClose comparision. - - The first double to compare. - The second double to compare. - - - - GreaterThanOrClose - Returns whether or not the first double is greater than or close to - the second double. That is, whether or not the first is strictly greater than or within - epsilon of the other number. Note that this epsilon is proportional to the numbers - themselves to that AreClose survives scalar multiplication. Note, - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. This is important enough to repeat: - NB: NO CODE CALLING THIS FUNCTION SHOULD DEPEND ON ACCURATE RESULTS - this should be - used for optimizations *only*. - - - bool - the result of the GreaterThanOrClose comparision. - - The first double to compare. - The second double to compare. - - - - IsOne - Returns whether or not the double is "close" to 1. Same as AreClose(double, 1), - but this is faster. - - - bool - the result of the AreClose comparision. - - The double to compare to 1. - - - - IsZero - Returns whether or not the double is "close" to 0. Same as AreClose(double, 0), - but this is faster. - - - bool - the result of the AreClose comparision. - - The double to compare to 0. - - - - Compares two points for fuzzy equality. This function - helps compensate for the fact that double values can - acquire error when operated upon - - The first point to compare - The second point to compare - Whether or not the two points are equal - - - - Compares two Size instances for fuzzy equality. This function - helps compensate for the fact that double values can - acquire error when operated upon - - The first size to compare - The second size to compare - Whether or not the two Size instances are equal - - - - Compares two Vector instances for fuzzy equality. This function - helps compensate for the fact that double values can - acquire error when operated upon - - The first Vector to compare - The second Vector to compare - Whether or not the two Vector instances are equal - - - - Compares two rectangles for fuzzy equality. This function - helps compensate for the fact that double values can - acquire error when operated upon - - The first rectangle to compare - The second rectangle to compare - Whether or not the two rectangles are equal - - - - - - - - - - - - - - - - - - rectHasNaN - this returns true if this rect has X, Y , Height or Width as NaN. - - The rectangle to test - returns whether the Rect has NaN - - - - 抗锯齿模式 - - - - - 位图 - - - - - 创建位图 - - - - - - - 创建位图 - - - - 指定一次扫描行的开头之间的字节偏移量的整数。 这通常字节数乘以位图的宽度。4*width - - - - - - - 创建位图 - - - - - - - 创建位图 - - - - - - - 锁定位图到内存用以像素操作,BitmapLock使用完要Dispose - - - - - - 位图锁,使用完了记得Dispose - - - - - 设置像素颜色 - - - - - - - - 获取像素颜色 - - - - - - - - 设置某个点的Alpha - - - - - - - - 获取某个点的Alpha - - - - - - - - 数据地址 - - - - - 笔刷 - - - - - 适配器创建的笔刷,绘制过程中才会被创建 - - - - - 释放之后由内部对象池保留,请不要在外部保留引用 - - - - - Parses a color string. #ffffff、r,g,b、a,r,g,b - - - - - - Parses a color to brush - - - - - - 透明 - - - - - Well-known color: AliceBlue - - - - - Well-known color: AntiqueWhite - - - - - Well-known color: Aqua - - - - - Well-known color: Aquamarine - - - - - Well-known color: Azure - - - - - Well-known color: Beige - - - - - Well-known color: Bisque - - - - - Well-known color: Black - - - - - Well-known color: BlanchedAlmond - - - - - Well-known color: Blue - - - - - Well-known color: BlueViolet - - - - - Well-known color: Brown - - - - - Well-known color: BurlyWood - - - - - Well-known color: CadetBlue - - - - - Well-known color: Chartreuse - - - - - Well-known color: Chocolate - - - - - Well-known color: Coral - - - - - Well-known color: CornflowerBlue - - - - - Well-known color: Cornsilk - - - - - Well-known color: Crimson - - - - - Well-known color: Cyan - - - - - Well-known color: DarkBlue - - - - - Well-known color: DarkCyan - - - - - Well-known color: DarkGoldenrod - - - - - Well-known color: DarkGray - - - - - Well-known color: DarkGreen - - - - - Well-known color: DarkKhaki - - - - - Well-known color: DarkMagenta - - - - - Well-known color: DarkOliveGreen - - - - - Well-known color: DarkOrange - - - - - Well-known color: DarkOrchid - - - - - Well-known color: DarkRed - - - - - Well-known color: DarkSalmon - - - - - Well-known color: DarkSeaGreen - - - - - Well-known color: DarkSlateBlue - - - - - Well-known color: DarkSlateGray - - - - - Well-known color: DarkTurquoise - - - - - Well-known color: DarkViolet - - - - - Well-known color: DeepPink - - - - - Well-known color: DeepSkyBlue - - - - - Well-known color: DimGray - - - - - Well-known color: DodgerBlue - - - - - Well-known color: Firebrick - - - - - Well-known color: FloralWhite - - - - - Well-known color: ForestGreen - - - - - Well-known color: Fuchsia - - - - - Well-known color: Gainsboro - - - - - Well-known color: GhostWhite - - - - - Well-known color: Gold - - - - - Well-known color: Goldenrod - - - - - Well-known color: Gray - - - - - Well-known color: Green - - - - - Well-known color: GreenYellow - - - - - Well-known color: Honeydew - - - - - Well-known color: HotPink - - - - - Well-known color: IndianRed - - - - - Well-known color: Indigo - - - - - Well-known color: Ivory - - - - - Well-known color: Khaki - - - - - Well-known color: Lavender - - - - - Well-known color: LavenderBlush - - - - - Well-known color: LawnGreen - - - - - Well-known color: LemonChiffon - - - - - Well-known color: LightBlue - - - - - Well-known color: LightCoral - - - - - Well-known color: LightCyan - - - - - Well-known color: LightGoldenrodYellow - - - - - Well-known color: LightGray - - - - - Well-known color: LightGreen - - - - - Well-known color: LightPink - - - - - Well-known color: LightSalmon - - - - - Well-known color: LightSeaGreen - - - - - Well-known color: LightSkyBlue - - - - - Well-known color: LightSlateGray - - - - - Well-known color: LightSteelBlue - - - - - Well-known color: LightYellow - - - - - Well-known color: Lime - - - - - Well-known color: LimeGreen - - - - - Well-known color: Linen - - - - - Well-known color: Magenta - - - - - Well-known color: Maroon - - - - - Well-known color: MediumAquamarine - - - - - Well-known color: MediumBlue - - - - - Well-known color: MediumOrchid - - - - - Well-known color: MediumPurple - - - - - Well-known color: MediumSeaGreen - - - - - Well-known color: MediumSlateBlue - - - - - Well-known color: MediumSpringGreen - - - - - Well-known color: MediumTurquoise - - - - - Well-known color: MediumVioletRed - - - - - Well-known color: MidnightBlue - - - - - Well-known color: MintCream - - - - - Well-known color: MistyRose - - - - - Well-known color: Moccasin - - - - - Well-known color: NavajoWhite - - - - - Well-known color: Navy - - - - - Well-known color: OldLace - - - - - Well-known color: Olive - - - - - Well-known color: OliveDrab - - - - - Well-known color: Orange - - - - - Well-known color: OrangeRed - - - - - Well-known color: Orchid - - - - - Well-known color: PaleGoldenrod - - - - - Well-known color: PaleGreen - - - - - Well-known color: PaleTurquoise - - - - - Well-known color: PaleVioletRed - - - - - Well-known color: PapayaWhip - - - - - Well-known color: PeachPuff - - - - - Well-known color: Peru - - - - - Well-known color: Pink - - - - - Well-known color: Plum - - - - - Well-known color: PowderBlue - - - - - Well-known color: Purple - - - - - Well-known color: Red - - - - - Well-known color: RosyBrown - - - - - Well-known color: RoyalBlue - - - - - Well-known color: SaddleBrown - - - - - Well-known color: Salmon - - - - - Well-known color: SandyBrown - - - - - Well-known color: SeaGreen - - - - - Well-known color: SeaShell - - - - - Well-known color: Sienna - - - - - Well-known color: Silver - - - - - Well-known color: SkyBlue - - - - - Well-known color: SlateBlue - - - - - Well-known color: SlateGray - - - - - Well-known color: Snow - - - - - Well-known color: SpringGreen - - - - - Well-known color: SteelBlue - - - - - Well-known color: Tan - - - - - Well-known color: Teal - - - - - Well-known color: Thistle - - - - - Well-known color: Tomato - - - - - Well-known color: Turquoise - - - - - Well-known color: Violet - - - - - Well-known color: Wheat - - - - - Well-known color: White - - - - - Well-known color: WhiteSmoke - - - - - Well-known color: Yellow - - - - - Well-known color: YellowGreen - - - - - Color - sRgb legacy interface, assumes Rgb values are sRgb - - - - - FromScRgb - - - - - Color - sRgb legacy interface, assumes Rgb values are sRgb, alpha channel is linear 1.0 gamma - - - - - Color - sRgb legacy interface, assumes Rgb values are sRgb - - - - - Parses a color string. #ffffff、r,g,b、r,g,b,a - - The color string. - The . - - - - Parses a color string. #ffffff、r,g,b、r,g,b,a - - - - - - GetHashCode - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the IFormatProvider - passed in. If the provider is null, the CurrentCulture is used. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Compares two colors for fuzzy equality. This function - helps compensate for the fact that float values can - acquire error when operated upon - - The first color to compare - The second color to compare - Whether or not the two colors are equal - - - - Compares two colors for fuzzy equality. This function - helps compensate for the fact that float values can - acquire error when operated upon - - The color to compare to this - Whether or not the two colors are equal - - - - Clamp - the color channels to the gamut [0..1]. If a channel is out - of gamut, it will be set to 1, which represents full saturation. - todo: [....] up context values if they exist - - - - - Addition operator - Adds each channel of the second color to each channel of the - first and returns the result - - - - - Addition method - Adds each channel of the second color to each channel of the - first and returns the result - - - - - Subtract operator - substracts each channel of the second color from each channel of the - first and returns the result - - The minuend - The subtrahend - Returns the unclamped differnce - - - - Subtract method - subtracts each channel of the second color from each channel of the - first and returns the result - - - - - Multiplication operator - Multiplies each channel of the color by a coefficient and returns the result - - The color - The coefficient - Returns the unclamped product - - - - 乘法-每个通道的颜色乘以一个系数,并返回结果 - - - - - Equality method for two colors - return true of colors are equal, otherwise returns false - - - - - Compares two colors for exact equality. Note that float values can acquire error - when operated upon, such that an exact comparison between two values which are logically - equal may fail. see cref="AreClose" for a "fuzzy" version of this comparison. - - The color to compare to "this" - Whether or not the two colors are equal - - - - Compares two colors for exact equality. Note that float values can acquire error - when operated upon, such that an exact comparison between two vEquals(color);alues which are logically - equal may fail. see cref="AreClose" for a "fuzzy" version of this comparison. - - The object to compare to "this" - Whether or not the two colors are equal - - - - IsEqual operator - Compares two colors for exact equality. Note that float values can acquire error - when operated upon, such that an exact comparison between two values which are logically - equal may fail. see cref="AreClose". - - - - - != - - - - - A - - - - The Red channel as a byte whose range is [0..255]. - the value is not allowed to be out of range - - R - - - - The Green channel as a byte whose range is [0..255]. - the value is not allowed to be out of range - G - - - - The Blue channel as a byte whose range is [0..255]. - the value is not allowed to be out of range - B - - - - The Alpha channel as a float whose range is [0..1]. - the value is allowed to be out of range - ScA - - - - The Red channel as a float whose range is [0..1]. - the value is allowed to be out of range - - ScR - - - - The Green channel as a float whose range is [0..1]. - the value is allowed to be out of range - ScG - - - - The Blue channel as a float whose range is [0..1]. - the value is allowed to be out of range - ScB - - - - - private helper function to set context values from a color value with a set context and ScRgb values - - - - - private helper function to set context values from a color value with a set context and ScRgb values - - - - - - CanConvertFrom - - - - - TypeConverter method override. - - ITypeDescriptorContext - Type to convert to - true if conversion is possible - - - - ConvertFromString - - - - - ConvertFrom - attempt to convert to a Color from the given object - - - A NotSupportedException is thrown if the example object is null or is not a valid type - which can be converted to a Color. - - - - - TypeConverter method implementation. - - - An NotSupportedException is thrown if the example object is null or is not a Color, - or if the destinationType isn't one of the valid destination types. - - ITypeDescriptorContext - current culture (see CLR specs) - value to convert from - Type to convert to - converted value - - Critical: calls InstanceDescriptor ctor which LinkDemands - PublicOK: can only make an InstanceDescriptor for Color.FromArgb, not an arbitrary class/method - - - - - 绘图上下文 - - - - - 绘制线条 - - - - - - - - - 绘制矩形 - - - - - - - - 填充矩形 - - - - - - - 绘制椭圆 - - - - 椭圆填充或描边的中心。 - 在椭圆的 X 尺寸半径。将使用提供的半径绝对值。 - 椭圆的 Y 轴半径。将使用提供的半径绝对值。 - - - - 填充椭圆 - - - 中心点 - 水平半径 - 垂直半径 - - - - 填充图形 - - 填充笔刷 - - - - - 绘制路径 - - - - - - - - 填充路径 - - - - - - - 绘制图片 - - - 目标矩形 - 源图片裁剪矩形 - 不透明度 - - - - 绘制文字 - - 位置 - - - - 文本对齐 - 最大宽度 - 文本修饰,它是可添加到文本的视觉装饰(如下划线) - 最大高度 - 文本裁剪修饰 - 文字描边 - 文字描边填充 - - - - 绘制文字 - - 是否裁剪了文本 - 位置 - - - - 文本对齐 - 最大宽度 - 文本修饰,它是可添加到文本的视觉装饰(如下划线) - 最大高度 - 文本裁剪修饰 - 文字描边 - 文字描边填充 - - - - 清空绘图区域 - - - - - - 设置剪辑区域 - - - - - - 删除最后一个剪辑区域 - - - - - 获取或设置2D变换 - - - - - 获取或设置抗锯齿模式 - - - - - 创建纯色笔刷 - - - - - - - 创建渐变笔刷,需要定义2个颜色以上 - - 需要定义2个颜色以上 - 开始 - 结束 - - - - - 获取纹理笔刷 - - - - - - 创建径向渐变画笔 - - - - - - - - - - 释放资源 - - - - - 创建对应笔刷的适配笔刷 - - - - - - 描述当文本溢出其包含框的边缘时如何修整文本。 - - - - - 不修整文本。 - - - - - 在字符边界处修整文本。 将绘制省略号 (...) 来替代剩余的文本。 - - - - - 在字符中间出处修整文本。 将绘制省略号 (...) 来替代剩余的文本。 - - - - - 定义一个阴影 - - - - - 水平偏移 - - - - - 垂直偏移 - - - - - 模糊的距离 - - - - - 颜色 - - - - - 创建图形 - - - - - - 创建路径 - - - - - - 读取文件图片 - - - - - - - 读取图片流 - - - - - - - 创建位图 - - - - - - - - 创建位图 - - - - - - - - - - - 创建位图 - - - - - - - 创建位图 - - - - - - - 通过图片创建绘图上下文 - - - - - - - 通过窗体句柄创建绘图上下文 - - - - - - - 计算文字尺寸 - - - - - - - - 计算文字尺寸,限定最大宽度 - - - - - - - - - 计算一行固定宽度下,该行可以放下几个字符 - - - - - - - - - 创建字体 - - - 像素为单位pix - - - - - - 加载字体 - - - 不设置的话,用图形引擎解析出来的名字,不同图形引擎加载同一个字体可能会有不同的名字,可以自己定义个确定的名字来避免不同名称加载不到字体的问题。 - - - - 创建文字路径 - - - - - - - - 字体默认行高 - - - - - - - 尝试启用GPU - - - - - 初始化字体 - - - 像素为单位px - - - - - 字体默认行高 - - - - - 普通文本 - - - - - 加粗文本 - - - - - 倾斜文本 - - - - - 是否换行 - - - - - Text should not wrap. - - - - - Text can wrap. - - - - - 更新此 Geometry,以仅包含其内部与指定的 Geometry 不相交的部分。 - - - - - - 更新此 Geometry,更新为其自身与指定的 Geometry 的交集。 - - - - - - 测试指定 Point 结构是否包含在此 Geometry 中。 - - - - - - - 将此 Geometry 更新为其自身与指定 Geometry 的并集。 - - - - - - 将此 geometry 更新为其自身与指定 geometry 的并集减去这两者的交集。 - - - - - - 获取能容纳该 Geometry 的最小矩形 - - - - - - 定义颜色渐变 - - - - - 初始化 - - 颜色 - 偏移位置 0-1 - - - - 颜色偏移位置 0-1 - - - - - 获取颜色 - - - - - - - - - - - 设置像素颜色 - - - - - - - - - - - 数据地址 - - - - - 位图像素格式 - - - - - 透明数据格式 - - - - - 位图像素格式 - - - - - alpha premultiplied - - - - - alpha premultiplied - - - - - 更新此 Geometry,以仅包含其内部与指定的 Geometry 不相交的部分。 - - - - - - 更新此 Geometry,更新为其自身与指定的 Geometry 的交集。 - - - - - - 测试指定 Point 结构是否包含在此 Geometry 中。 - - - - - - - 将此 Geometry 更新为其自身与指定 Geometry 的并集。 - - - - - - 将此 geometry 更新为其自身与指定 geometry 的并集减去这两者的交集。 - - - - - - 获取能容纳该 Geometry 的最小矩形 - - - - - - 宽度 - - - - - 高度 - - - - - 图片帧数,比如GIF - - - - - 宽度 - - - - - 高度 - - - - - 帧数,比如GIF - - - - - 当前选中的帧索引,GIF - - - - - 动画时长,GIF - - - - - GIF的每帧时长 - - - - - 下一帧的时间,从程序启动开始算,用于播放动画的时候使用,实现同一个Image对象,多个地方同步刷新 - - - - - 位图 (BMP) 图像格式。 - - - - - 图形交换格式 (GIF) 图像格式。 - - - - - 联合图像专家组 (JPEG) 图像格式。 - - - - - W3C 可移植网络图形 (PNG) 图像格式。 - - - - - Path内部实现接口 - - - - - 定义一个渲染目标 - - - - - 线性渐变笔刷,默认是左到右 - - - - - 3*2 2D变换矩阵 - - - - - Creates a matrix of the form - / m11 scalex, m12 skewx, 0 \ - | m21 skewy, m22 scaley, 0 | - \ offsetX, offsetY, 1 / - - - - - Identity - - - - - Sets the matrix to identity. - - - - - Tests whether or not a given transform is an identity transform - 测试给定的变换是否是恒等变换 - - - - - Multiplies two transformations. - - - - - Multiply - - - - - Append - "this" becomes this * matrix, the same as this *= matrix. - - The Matrix to append to this Matrix - - - - Prepend - "this" becomes matrix * this, the same as this = matrix * this. - - The Matrix to prepend to this Matrix - - - - Rotates this matrix about the origin - - The angle to rotate specifed in degrees - - - - Prepends a rotation about the origin to "this" - - The angle to rotate specifed in degrees - - - - Rotates this matrix about the given point - - The angle to rotate specifed in degrees - The centerX of rotation - The centerY of rotation - - - - Prepends a rotation about the given point to "this" - - The angle to rotate specifed in degrees - The centerX of rotation - The centerY of rotation - - - - Scales this matrix around the origin - - The scale factor in the x dimension - The scale factor in the y dimension - - - - Prepends a scale around the origin to "this" - - The scale factor in the x dimension - The scale factor in the y dimension - - - - Scales this matrix around the center provided - - The scale factor in the x dimension - The scale factor in the y dimension - The centerX about which to scale - The centerY about which to scale - - - - Prepends a scale around the center provided to "this" - - The scale factor in the x dimension - The scale factor in the y dimension - The centerX about which to scale - The centerY about which to scale - - - - Skews this matrix - - The skew angle in the x dimension in degrees - The skew angle in the y dimension in degrees - - - - Prepends a skew to this matrix - - The skew angle in the x dimension in degrees - The skew angle in the y dimension in degrees - - - - Translates this matrix - - The offset in the x dimension - The offset in the y dimension - - - - Prepends a translation to this matrix - - The offset in the x dimension - The offset in the y dimension - - - - Transform - returns the result of transforming the point by this matrix - - - The transformed point - - The Point to transform - - - - Transform - Transforms each point in the array by this matrix - - The Point array to transform - - - - Transform - returns the result of transforming the Vector by this matrix. - - - The transformed vector - - The Vector to transform - - - - Transform - Transforms each Vector in the array by this matrix. - - The Vector array to transform - - - - The determinant of this matrix - - - - - HasInverse Property - returns true if this matrix is invertable, false otherwise. - - - - - Replaces matrix with the inverse of the transformation. This will throw an InvalidOperationException - if !HasInverse - - - This will throw an InvalidOperationException if the matrix is non-invertable - - - - - M11 scalex - - - - - M12 skewy - - - - - M22 skewx - - - - - M22 scaley - - - - - OffsetX - - - - - OffsetY - - - - - MultiplyVector - - - - - MultiplyPoint - - - - - Creates a rotation transformation about the given point - - The angle to rotate specifed in radians - - - - Creates a rotation transformation about the given point - - The angle to rotate specifed in radians - The centerX of rotation - The centerY of rotation - - - - Creates a scaling transform around the given point - - The scale factor in the x dimension - The scale factor in the y dimension - The centerX of scaling - The centerY of scaling - - - - Creates a scaling transform around the origin - - The scale factor in the x dimension - The scale factor in the y dimension - - - - Creates a skew transform - - The skew angle in the x dimension in degrees - The skew angle in the y dimension in degrees - - - - Sets the transformation to the given translation specified by the offset vector. - - The offset in X - The offset in Y - - - - Creates a translation matrix from the given vector. - - The translation position. - A translation matrix. - - - - Sets the transformation to the identity. - - - - - Sets the transform to - / m11, m12, 0 \ - | m21, m22, 0 | - \ offsetX, offsetY, 1 / - where offsetX, offsetY is the translation. - - - - - Set the type of the matrix based on its current contents - - - - - Efficient but conservative test for identity. Returns - true if the the matrix is identity. If it returns false - the matrix may still be identity. - - - - - Compares two Matrix instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Matrix instances are exactly equal, false otherwise - - The first Matrix to compare - The second Matrix to compare - - - - Compares two Matrix instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Matrix instances are exactly unequal, false otherwise - - The first Matrix to compare - The second Matrix to compare - - - - Compares two Matrix instances for object equality. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Matrix instances are exactly equal, false otherwise - - The first Matrix to compare - The second Matrix to compare - - - - Equals - compares this Matrix with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Matrix and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Matrix with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Matrix to compare to "this" - - - - Returns the HashCode for this Matrix - - - int - the HashCode for this Matrix - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the IFormatProvider - passed in. If the provider is null, the CurrentCulture is used. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - TransformRect - Internal helper for perf - - The Rect to transform. - The Matrix with which to transform the Rect. - - - - Multiplies two transformations, where the behavior is matrix1 *= matrix2. - This code exists so that we can efficient combine matrices without copying - the data around, since each matrix is 52 bytes. - To reduce duplication and to ensure consistent behavior, this is the - method which is used to implement Matrix * Matrix as well. - - - - - Applies an offset to the specified matrix in place. - - - - - 3D Matrix. - The matrix is represented in the following row-vector syntax form: - - [ m11 m12 m13 m14 ] - [ m21 m22 m23 m24 ] - [ m31 m32 m33 m34 ] - [ offsetX offsetY offsetZ m44 ] - - Note that since the fourth column is also accessible, the matrix allows one to - represent affine as well as non-affine transforms. - Matrices can be appended or prepended to other matrices. Appending A to B denotes - a transformation by B and then by A - i.e. A(B(...)), whereas prepending A to B denotes a - transformation by A and then by B - i.e. B(A(...)). Thus for example if we want to - transform point P by A and then by B, we append B to A: - C = A.Append(B) - P' = C.Transform(P) - - - - - Constructor that sets matrix's initial values. - - Value of the (1,1) field of the new matrix. - Value of the (1,2) field of the new matrix. - Value of the (1,3) field of the new matrix. - Value of the (1,4) field of the new matrix. - Value of the (2,1) field of the new matrix. - Value of the (2,2) field of the new matrix. - Value of the (2,3) field of the new matrix. - Value of the (2,4) field of the new matrix. - Value of the (3,1) field of the new matrix. - Value of the (3,2) field of the new matrix. - Value of the (3,3) field of the new matrix. - Value of the (3,4) field of the new matrix. - Value of the X offset field of the new matrix. - Value of the Y offset field of the new matrix. - Value of the Z offset field of the new matrix. - Value of the (4,4) field of the new matrix. - - - - Returns identity matrix. - - - - - Sets matrix to identity. - - - - - Returns whether the matrix is identity. - - - - - Prepends the given matrix to the current matrix. - - Matrix to prepend. - - - - Appends the given matrix to the current matrix. - - Matrix to append. - - - - Appends rotation transform to the current matrix. - - Quaternion representing rotation. - - - - Prepends rotation transform to the current matrix. - - Quaternion representing rotation. - - - - Appends rotation transform to the current matrix. - - Quaternion representing rotation. - Center to rotate around. - - - - Prepends rotation transform to the current matrix. - - Quaternion representing rotation. - Center to rotate around. - - - - Appends scale transform to the current matrix. - - Scaling vector for transformation. - - - - Prepends scale transform to the current matrix. - - Scaling vector for transformation. - - - - Appends scale transform to the current matrix. - - Scaling vector for transformation. - Point around which to scale. - - - - Prepends scale transform to the current matrix. - - Scaling vector for transformation. - Point around which to scale. - - - - Appends translation transform to the current matrix. - - Offset vector for transformation. - - - - Prepends translation transform to the current matrix. - - Offset vector for transformation. - - - - Matrix multiplication. - - Matrix to multiply. - Matrix by which the first matrix is multiplied. - Result of multiplication. - - - - Matrix multiplication. - - Matrix to multiply. - Matrix by which the first matrix is multiplied. - Result of multiplication. - - - - Transforms the given Point3D by this matrix, projecting the - result back into the W=1 plane. - 通过此矩阵变换给定的 Point3D, 将结果投影回 W=1 平面。 - - Point to transform. - Transformed point. - - - - Transforms the given Point3Ds by this matrix, projecting the - results back into the W=1 plane. - - Points to transform. - - - - Transforms the given vector by the current matrix. - - Vector to transform. - Transformed vector. - - - - Transforms the given vectors by the current matrix. - - Vectors to transform. - - - - Determines whether the matrix is affine. - - - - - Matrix determinant. - - - - - Whether the matrix has an inverse. - - - - - Computes, and substitutes in-place, the inverse of a matrix. - The determinant of the matrix must be nonzero, otherwise the matrix is not invertible. - In this case it will throw InvalidOperationException exception. - 反转矩阵 - - - This will throw InvalidOperationException if the matrix is not invertible. - - - - - Retrieves or sets (1,1) value of the matrix. - - - - - Retrieves or sets (1,2) value of the matrix. - - - - - Retrieves or sets (1,3) value of the matrix. - - - - - Retrieves or sets (1,4) value of the matrix. - - - - - Retrieves or sets (2,1) value of the matrix. - - - - - Retrieves or sets (2,2) value of the matrix. - - - - - Retrieves or sets (2,3) value of the matrix. - - - - - Retrieves or sets (2,4) value of the matrix. - - - - - Retrieves or sets (3,1) value of the matrix. - - - - - Retrieves or sets (3,2) value of the matrix. - - - - - Retrieves or sets (3,3) value of the matrix. - - - - - Retrieves or sets (3,4) value of the matrix. - - - - - Retrieves or sets X offset of the matrix. - - - - - Retrieves or sets Y offset of the matrix. - - - - - Retrieves or sets Z offset of the matrix. - - - - - Retrieves or sets (4,4) value of the matrix. - - - - - Compares two Matrix3D instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Matrix3D instances are exactly equal, false otherwise - - The first Matrix3D to compare - The second Matrix3D to compare - - - - Compares two Matrix3D instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Matrix3D instances are exactly unequal, false otherwise - - The first Matrix3D to compare - The second Matrix3D to compare - - - - Compares two Matrix3D instances for object equality. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Matrix3D instances are exactly equal, false otherwise - - The first Matrix3D to compare - The second Matrix3D to compare - - - - Equals - compares this Matrix3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Matrix3D and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Matrix3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Matrix3D to compare to "this" - - - - Returns the HashCode for this Matrix3D - - - int - the HashCode for this Matrix3D - - - - - Point3D - 3D point representation. - Defaults to (0,0,0). - - - - - Constructor that sets point's initial values. - - Value of the X coordinate of the new point. - Value of the Y coordinate of the new point. - Value of the Z coordinate of the new point. - - - - Offset - update point position by adding offsetX to X, offsetY to Y, and offsetZ to Z. - - Offset in the X direction. - Offset in the Y direction. - Offset in the Z direction. - - - - Point3D + Vector3D addition. - - Point being added. - Vector being added. - Result of addition. - - - - Point3D + Vector3D addition. - - Point being added. - Vector being added. - Result of addition. - - - - Point3D - Vector3D subtraction. - - Point from which vector is being subtracted. - Vector being subtracted from the point. - Result of subtraction. - - - - Point3D - Vector3D subtraction. - - Point from which vector is being subtracted. - Vector being subtracted from the point. - Result of subtraction. - - - - Subtraction. - - Point from which we are subtracting the second point. - Point being subtracted. - Vector between the two points. - - - - Subtraction. - - Point from which we are subtracting the second point. - Point being subtracted. - Vector between the two points. - - - - Faster internal version of Subtract that avoids copies - - p1 and p2 to a passed by ref for perf and ARE NOT MODIFIED - - - - - Point3D * Matrix3D multiplication. - - Point being transformed. - Transformation matrix applied to the point. - Result of the transformation matrix applied to the point. - - - - Point3D * Matrix3D multiplication. - - Point being transformed. - Transformation matrix applied to the point. - Result of the transformation matrix applied to the point. - - - - Explicit conversion to Vector3D. - - Given point. - Vector representing the point. - - - - Compares two Point3D instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Point3D instances are exactly equal, false otherwise - - The first Point3D to compare - The second Point3D to compare - - - - Compares two Point3D instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Point3D instances are exactly unequal, false otherwise - - The first Point3D to compare - The second Point3D to compare - - - - Compares two Point3D instances for object equality. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Point3D instances are exactly equal, false otherwise - - The first Point3D to compare - The second Point3D to compare - - - - Equals - compares this Point3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Point3D and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Point3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Point3D to compare to "this" - - - - Returns the HashCode for this Point3D - - - int - the HashCode for this Point3D - - - - - X - float. Default value is 0. - - - - - Y - float. Default value is 0. - - - - - Z - float. Default value is 0. - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Quaternions. - Quaternions are distinctly 3D entities that represent rotation in three dimensions. - Their power comes in being able to interpolate (and thus animate) between - quaternions to achieve a smooth, reliable interpolation. - The default quaternion is the identity. - 四元数。 - 四元数是明显 3D 实体表示在三维空间中的旋转。 - 他们的力量是能够之间内插 (并因此进行动画处理) - 四元数来实现一种平稳、 可靠的插值方法。 - 默认四元数是恒等变换 - - - - - Constructor that sets quaternion's initial values. - - Value of the X coordinate of the new quaternion. - Value of the Y coordinate of the new quaternion. - Value of the Z coordinate of the new quaternion. - Value of the W coordinate of the new quaternion. - - - - Constructs a quaternion via specified axis of rotation and an angle. - Throws an InvalidOperationException if given (0,0,0) as axis vector. - - Vector representing axis of rotation. - Angle to turn around the given axis (in degrees). - - - - Identity quaternion - - - - - Retrieves quaternion's axis. - - - - - Retrieves quaternion's angle. - - - - - Returns whether the quaternion is normalized (i.e. has a magnitude of 1). - - - - - Tests whether or not a given quaternion is an identity quaternion. - - - - - Relaces quaternion with its conjugate - - - - - Replaces quaternion with its inverse - - - - - Normalizes this quaternion. - - - - - Quaternion addition. - - First quaternion being added. - Second quaternion being added. - Result of addition. - - - - Quaternion addition. - - First quaternion being added. - Second quaternion being added. - Result of addition. - - - - Quaternion subtraction. - - Quaternion to subtract from. - Quaternion to subtract from the first quaternion. - Result of subtraction. - - - - Quaternion subtraction. - - Quaternion to subtract from. - Quaternion to subtract from the first quaternion. - Result of subtraction. - - - - Quaternion multiplication. - - First quaternion. - Second quaternion. - Result of multiplication. - - - - Quaternion multiplication. - - First quaternion. - Second quaternion. - Result of multiplication. - - - - Scale this quaternion by a scalar. - - Value to scale by. - - - - Return length of quaternion. - - - - - Smoothly interpolate between the two given quaternions using Spherical - Linear Interpolation (SLERP). - - First quaternion for interpolation. - Second quaternion for interpolation. - Interpolation coefficient. - SLERP-interpolated quaternion between the two given quaternions. - - - - Smoothly interpolate between the two given quaternions using Spherical - Linear Interpolation (SLERP). - - First quaternion for interpolation. - Second quaternion for interpolation. - Interpolation coefficient. - If true, Slerp will automatically flip the sign of - the destination Quaternion to ensure the shortest path is taken. - SLERP-interpolated quaternion between the two given quaternions. - - - - X - Default value is 0. - - - - - Y - Default value is 0. - - - - - Z - Default value is 0. - - - - - W - Default value is 1. - - - - - Compares two Quaternion instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Quaternion instances are exactly equal, false otherwise - - The first Quaternion to compare - The second Quaternion to compare - - - - Compares two Quaternion instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Quaternion instances are exactly unequal, false otherwise - - The first Quaternion to compare - The second Quaternion to compare - - - - Compares two Quaternion instances for object equality. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Quaternion instances are exactly equal, false otherwise - - The first Quaternion to compare - The second Quaternion to compare - - - - Equals - compares this Quaternion with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Quaternion and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Quaternion with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Quaternion to compare to "this" - - - - Returns the HashCode for this Quaternion - - - int - the HashCode for this Quaternion - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a RayHitTestParameters where the ray is described - by an origin and a direction. - - - - - The origin of the ray to be used for hit testing. - - - - - The direction of the ray to be used for hit testing. - - - - - Compares two Rect3D instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Rect3D instances are exactly equal, false otherwise - - The first Rect3D to compare - The second Rect3D to compare - - - - Compares two Rect3D instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Rect3D instances are exactly unequal, false otherwise - - The first Rect3D to compare - The second Rect3D to compare - - - - Compares two Rect3D instances for object equality. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Rect3D instances are exactly equal, false otherwise - - The first Rect3D to compare - The second Rect3D to compare - - - - Equals - compares this Rect3D with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Rect3D and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Rect3D with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Rect3D to compare to "this" - - - - Returns the HashCode for this Rect3D - - - int - the HashCode for this Rect3D - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the IFormatProvider - passed in. If the provider is null, the CurrentCulture is used. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Constructor which sets the initial values to the values of the parameters. - - Location of the new rectangle. - Size of the new rectangle. - - - - Constructor which sets the initial values to the values of the parameters. - SizeX, sizeY, sizeZ must be non-negative. - - Value of the X location coordinate of the new rectangle. - Value of the X location coordinate of the new rectangle. - Value of the X location coordinate of the new rectangle. - Size of the new rectangle in X dimension. - Size of the new rectangle in Y dimension. - Size of the new rectangle in Z dimension. - - - - Constructor which sets the initial values to bound the two points provided. - - First point. - Second point. - - - - Constructor which sets the initial values to bound the point provided and the point - which results from point + vector. - - Location of the rectangle. - Vector extending the rectangle from the location. - - - - Empty - a static property which provides an Empty rectangle. X, Y, and Z are - positive-infinity and sizes are negative infinity. This is the only situation - where size can be negative. - - - - - IsEmpty - this returns true if this rect is the Empty rectangle. - Note: If size is 0 this Rectangle still contains a 0 or 1 dimensional set - of points, so this method should not be used to check for 0 area. - - - - - The point representing the origin of the rectangle. - - - - - The size representing the area of the rectangle. - - - - - Size of the rectangle in the X dimension. - - - - - Size of the rectangle in the Y dimension. - - - - - Size of the rectangle in the Z dimension. - - - - - Value of the X coordinate of the rectangle. - - - - - Value of the Y coordinate of the rectangle. - - - - - Value of the Z coordinate of the rectangle. - - - - - Returns true if the point is within the rectangle, inclusive of the edges. - Returns false otherwise. - - The point which is being tested. - True if the point is within the rectangle. False otherwise - - - - Contains - Returns true if the Point represented by x,y,z is within the rectangle - inclusive of the edges. Returns false otherwise. - - X coordinate of the point which is being tested. - Y coordinate of the point which is being tested. - Y coordinate of the point which is being tested. - True if the Point represented by x,y is within the rectangle. - False otherwise. - - - - Returns true if the rectangle is non-Empty and is entirely contained within the - rectangle, inclusive of the edges. Returns false otherwise. - - Rectangle being tested. - Returns true if the rectangle is non-Empty and is entirely contained within the - rectangle, inclusive of the edges. Returns false otherwise. - - - - Returns true if the rectangle intersects with this rectangle. - Returns false otherwise. Note that if one edge is coincident, this is considered - an intersection. - - Rectangle being tested. - True if the rectangle intersects with this rectangle. - False otherwise. - - - - Intersect - Update this rectangle to be the intersection of this and rect - If either this or rect are Empty, the result is Empty as well. - - The rect to intersect with this - - - - Return the result of the intersection of rect1 and rect2. - If either this or rect are Empty, the result is Empty as well. - - First rectangle. - Second rectangle. - The result of the intersection of rect1 and rect2. - - - - Update this rectangle to be the union of this and rect. - - Rectangle. - - - - Return the result of the union of rect1 and rect2. - - First rectangle. - Second rectangle. - The result of the union of the two rectangles. - - - - Update this rectangle to be the union of this and point. - - Point. - - - - Return the result of the union of rect and point. - - Rectangle. - Point. - The result of the union of rect and point. - - - - Translate the Location by the offset provided. - If this is Empty, this method is illegal. - - - - - - Offset - translate the Location by the offset provided - If this is Empty, this method is illegal. - - - - - - - - Offset - return the result of offsetting rect by the offset provided - If this is Empty, this method is illegal. - - - - - - - - Offset - return the result of offsetting rect by the offset provided - If this is Empty, this method is illegal. - - - - - - - - - - ContainsInternal - Performs just the "point inside" logic. - - - - - bool - true if the point is inside the rect - - - - Size3D - A value type which defined a size in terms of non-negative width, - length, and height. - - - - - Constructor which sets the size's initial values. Values must be non-negative. - - X dimension of the new size. - Y dimension of the new size. - Z dimension of the new size. - - - - Empty - a static property which provides an Empty size. X, Y, and Z are - negative-infinity. This is the only situation - where size can be negative. - - - - - IsEmpty - this returns true if this size is the Empty size. - Note: If size is 0 this Size3D still contains a 0, 1, or 2 dimensional set - of points, so this method should not be used to check for 0 volume. - - - - - Size in X dimension. Default is 0, must be non-negative. - - - - - Size in Y dimension. Default is 0, must be non-negative. - - - - - Size in Z dimension. Default is 0, must be non-negative. - - - - - Explicit conversion to Vector. - - The size to convert to a vector. - A vector equal to this size. - - - - Explicit conversion to point. - - The size to convert to a point. - A point equal to this size. - - - - Compares two Size3D instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Size3D instances are exactly equal, false otherwise - - The first Size3D to compare - The second Size3D to compare - - - - Compares two Size3D instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Size3D instances are exactly unequal, false otherwise - - The first Size3D to compare - The second Size3D to compare - - - - Compares two Size3D instances for object equality. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Size3D instances are exactly equal, false otherwise - - The first Size3D to compare - The second Size3D to compare - - - - Equals - compares this Size3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Size3D and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Size3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Size3D to compare to "this" - - - - Returns the HashCode for this Size3D - - - int - the HashCode for this Size3D - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Vector3D - 3D vector representation. - - - - - Constructor that sets vector's initial values. - - Value of the X coordinate of the new vector. - Value of the Y coordinate of the new vector. - Value of the Z coordinate of the new vector. - - - - Length of the vector. - - - - - Length of the vector squared. - - - - - Updates the vector to maintain its direction, but to have a length - of 1. Equivalent to dividing the vector by its Length. - Returns NaN if length is zero. - - - - - Computes the angle between two vectors. - - First vector. - Second vector. - - Returns the angle required to rotate vector1 into vector2 in degrees. - This will return a value between [0, 180] degrees. - (Note that this is slightly different from the Vector member - function of the same name. Signed angles do not extend to 3D.) - - - - - Operator -Vector (unary negation). - - Vector being negated. - Negation of the given vector. - - - - Negates the values of X, Y, and Z on this Vector3D - - - - - Vector addition. - - First vector being added. - Second vector being added. - Result of addition. - - - - Vector addition. - - First vector being added. - Second vector being added. - Result of addition. - - - - Vector subtraction. - - Vector that is subtracted from. - Vector being subtracted. - Result of subtraction. - - - - Vector subtraction. - - Vector that is subtracted from. - Vector being subtracted. - Result of subtraction. - - - - Vector3D + Point3D addition. - - Vector by which we offset the point. - Point being offset by the given vector. - Result of addition. - - - - Vector3D + Point3D addition. - - Vector by which we offset the point. - Point being offset by the given vector. - Result of addition. - - - - Vector3D - Point3D subtraction. - - Vector by which we offset the point. - Point being offset by the given vector. - Result of subtraction. - - - - Vector3D - Point3D subtraction. - - Vector by which we offset the point. - Point being offset by the given vector. - Result of subtraction. - - - - Scalar multiplication. - - Vector being multiplied. - Scalar value by which the vector is multiplied. - Result of multiplication. - - - - Scalar multiplication. - - Vector being multiplied. - Scalar value by which the vector is multiplied. - Result of multiplication. - - - - Scalar multiplication. - - Scalar value by which the vector is multiplied - Vector being multiplied. - Result of multiplication. - - - - Scalar multiplication. - - Scalar value by which the vector is multiplied - Vector being multiplied. - Result of multiplication. - - - - Scalar division. - - Vector being divided. - Scalar value by which we divide the vector. - Result of division. - - - - Scalar division. - - Vector being divided. - Scalar value by which we divide the vector. - Result of division. - - - - Vector3D * Matrix3D multiplication - - Vector being tranformed. - Transformation matrix applied to the vector. - Result of multiplication. - - - - Vector3D * Matrix3D multiplication - - Vector being tranformed. - Transformation matrix applied to the vector. - Result of multiplication. - - - - Vector dot product. - - First vector. - Second vector. - Dot product of two vectors. - - - - Faster internal version of DotProduct that avoids copies - - vector1 and vector2 to a passed by ref for perf and ARE NOT MODIFIED - - - - - Vector cross product. - - First vector. - Second vector. - Cross product of two vectors. - - - - Faster internal version of CrossProduct that avoids copies - - vector1 and vector2 to a passed by ref for perf and ARE NOT MODIFIED - - - - - Vector3D to Point3D conversion. - - Vector being converted. - Point representing the given vector. - - - - Explicit conversion to Size3D. Note that since Size3D cannot contain negative values, - the resulting size will contains the absolute values of X, Y, and Z. - - The vector to convert to a size. - A size equal to this vector. - - - - Compares two Vector3D instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Vector3D instances are exactly equal, false otherwise - - The first Vector3D to compare - The second Vector3D to compare - - - - Compares two Vector3D instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, Double.NaN is not equal to itself. - - - bool - true if the two Vector3D instances are exactly unequal, false otherwise - - The first Vector3D to compare - The second Vector3D to compare - - - - Compares two Vector3D instances for object equality. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Vector3D instances are exactly equal, false otherwise - - The first Vector3D to compare - The second Vector3D to compare - - - - Equals - compares this Vector3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Vector3D and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Vector3D with the passed in object. In this equality - Double.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Vector3D to compare to "this" - - - - Returns the HashCode for this Vector3D - - - int - the HashCode for this Vector3D - - - - - X - float. Default value is 0. - - - - - Y - float. Default value is 0. - - - - - Z - float. Default value is 0. - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - 支持WPF里的字符串格式数据,隐式转换 - - - - - 开始新的图形操作,设置起始点。和EndFigure匹配 - - - - - - - 添加一个圆角矩形路径 - - 表示矩形的角的半径,格式 一个数字或者四个数字 比如10或者 10,10,10,10 topLeft,topRight,bottomRight,bottomLeft - 矩形的位置和尺寸 - padding - - - - 添加一个圆角矩形路径 - - 表示矩形的角的半径,格式 一个数字或者四个数字 比如10或者 10,10,10,10 topLeft,topRight,bottomRight,bottomLeft - 矩形的位置和尺寸 - padding - - - - 添加一条线 - - - - - - - 添加一个圆弧 - - 弧线末尾的目标点 - 椭圆的半径 - 角度 - 是否为顺时针 - 是否是大弧线 - - - - 结束当前图形操作,是否闭合路径。和BeginFigure匹配 - - - - - - 三次方程式贝塞尔曲线 - - - - - - - - 二次方程式贝塞尔曲线 - - - - - - - 创建一个用于描边当前路径的路径 - - - - - - Parser for XAML abbreviated geometry. - SVG path spec is closely followed http://www.w3.org/TR/SVG11/paths.html - 3/23/2006, new parser for performance (fyuan) - - - - - Throw unexpected token exception - - - - - Read the next non whitespace character - - True if not end of string - - - - Read a floating point number - - - - - - Read a bool: 1 or 0 - - - - - - Read a relative point - - - - - - Reflect _secondLastPoint over _lastPoint to get a new point for smooth curve - - - - - - Parse a PathFigureCollection string - - - - - 是否为0,0 - - - - - Y - double. Default value is 0. - - - - - Multiplies a point by a factor coordinate-wise - - Point to multiply - Factor - Points having its coordinates multiplied - - - - Multiplies a point by a factor coordinate-wise - - Point to multiply - Factor - Points having its coordinates multiplied - - - - Divides a point by a factor coordinate-wise - - Point to divide by - Factor - Points having its coordinates divided - - - - x,y - - - - - - Returns a new point with the specified X coordinate. - - The X coordinate. - The new point. - - - - Returns a new point with the specified Y coordinate. - - The Y coordinate. - The new point. - - - - - Determines if this converter can convert an object in the given source - type to the native type of the converter. - - - - - - Gets a value indicating whether this converter can - convert an object to the given destination type using the context. - - - - - - Converts the given object to the converter's native type. - - - - - - Converts the given object to another type. The most common types to convert - are to and from a string object. The default implementation will make a call - to ToString on the object if the object is valid and if the destination - type is string. If this cannot convert to the desitnation type, this will - throw a NotSupportedException. - - - - - - Creates an instance of this type given a set of property values - for the object. This is useful for objects that are immutable, but still - want to provide changable properties. - - - - - - Determines if changing a value on this object should require a call to - CreateInstance to create a new value. - - - - - - Retrieves the set of properties for this type. By default, a type has - does not return any properties. An easy implementation of this method - can just call TypeDescriptor.GetProperties for the correct data type. - - - - - - Determines if this object supports properties. By default, this - is false. - - - - - 径向渐变画笔 - - - - - 径向渐变画笔 - - - - - 获取或设置径向渐变的最外面圆的中心。 - - - - - 获取或设置径向渐变的最外面圆半径。 - - - - - rect.Left * scale, rect.Top * scale, rect.Width * scale, rect.Height * scale - - - - - - - - Compares two Rect instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Rect instances are exactly unequal, false otherwise - - The first Rect to compare - The second Rect to compare - - - - Compares two Rect instances for object equality. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Rect instances are exactly equal, false otherwise - - The first Rect to compare - The second Rect to compare - - - - Equals - compares this Rect with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Rect and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Rect with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Rect to compare to "this" - - - - Returns the HashCode for this Rect - - - int - the HashCode for this Rect - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the IFormatProvider - passed in. If the provider is null, the CurrentCulture is used. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Constructor which sets the initial values to the values of the parameters - - - - - Constructor which sets the initial values to the values of the parameters. - Width and Height must be non-negative - - - - - Constructor which sets the initial values to bound the two points provided. - - - - - Constructor which sets the initial values to bound the point provided and the point - which results from point + vector. - - - - - Constructor which sets the initial values to bound the (0,0) point and the point - that results from (0,0) + size. - - - - - Empty - a static property which provides an Empty rectangle. X and Y are positive-infinity - and Width and Height are negative infinity. This is the only situation where Width or - Height can be negative. - - - - - Location - The Point representing the origin of the Rectangle - - - - - Size - The Size representing the area of the Rectangle - - - - - X - The X coordinate of the Location. - If this is the empty rectangle, the value will be positive infinity. - If this rect is Empty, setting this property is illegal. - - - - - Y - The Y coordinate of the Location - If this is the empty rectangle, the value will be positive infinity. - If this rect is Empty, setting this property is illegal. - - - - - Width - The Width component of the Size. This cannot be set to negative, and will only - be negative if this is the empty rectangle, in which case it will be negative infinity. - If this rect is Empty, setting this property is illegal. - - - - - Height - The Height component of the Size. This cannot be set to negative, and will only - be negative if this is the empty rectangle, in which case it will be negative infinity. - If this rect is Empty, setting this property is illegal. - - - - - Left Property - This is a read-only alias for X - If this is the empty rectangle, the value will be positive infinity. - - - - - Top Property - This is a read-only alias for Y - If this is the empty rectangle, the value will be positive infinity. - - - - - Right Property - This is a read-only alias for X + Width - If this is the empty rectangle, the value will be negative infinity. - - - - - Bottom Property - This is a read-only alias for Y + Height - If this is the empty rectangle, the value will be negative infinity. - - - - - TopLeft Property - This is a read-only alias for the Point which is at X, Y - If this is the empty rectangle, the value will be positive infinity, positive infinity. - - - - - TopRight Property - This is a read-only alias for the Point which is at X + Width, Y - If this is the empty rectangle, the value will be negative infinity, positive infinity. - - - - - BottomLeft Property - This is a read-only alias for the Point which is at X, Y + Height - If this is the empty rectangle, the value will be positive infinity, negative infinity. - - - - - BottomRight Property - This is a read-only alias for the Point which is at X + Width, Y + Height - If this is the empty rectangle, the value will be negative infinity, negative infinity. - - - - - Gets the center point of the rectangle. - - - - - Contains - Returns true if the Point is within the rectangle, inclusive of the edges. - Returns false otherwise. - - The point which is being tested - - Returns true if the Point is within the rectangle. - Returns false otherwise - - - - - Contains - Returns true if the Point represented by x,y is within the rectangle inclusive of the edges. - Returns false otherwise. - - X coordinate of the point which is being tested - Y coordinate of the point which is being tested - - Returns true if the Point represented by x,y is within the rectangle. - Returns false otherwise. - - - - - Contains - Returns true if the Rect non-Empty and is entirely contained within the - rectangle, inclusive of the edges. - Returns false otherwise - - - - - IntersectsWith - Returns true if the Rect intersects with this rectangle - Returns false otherwise. - Note that if one edge is coincident, this is considered an intersection. - - - Returns true if the Rect intersects with this rectangle - Returns false otherwise. - or Height - - Rect - - - - Intersect - Update this rectangle to be the intersection of this and rect - If either this or rect are Empty, the result is Empty as well. - 更新为交集 - - The rect to intersect with this - - - - Intersect - Return the result of the intersection of rect1 and rect2. - If either this or rect are Empty, the result is Empty as well. - - - - - Union - Update this rectangle to be the union of this and rect. - - - - - Union - Return the result of the union of rect1 and rect2. - - - - - Union - Update this rectangle to be the union of this and point. - - - - - Union - Return the result of the union of rect and point. - - - - - Offset - translate the Location by the offset provided. - If this is Empty, this method is illegal. - - - - - Offset - translate the Location by the offset provided - If this is Empty, this method is illegal. - - - - - Offset - return the result of offsetting rect by the offset provided - If this is Empty, this method is illegal. - - - - - Offset - return the result of offsetting rect by the offset provided - If this is Empty, this method is illegal. - - - - - Inflate - inflate the bounds by the size provided, in all directions - If this is Empty, this method is illegal. - - - - - Inflate - inflate the bounds by the size provided, in all directions. - If -width is > Width / 2 or -height is > Height / 2, this Rect becomes Empty - If this is Empty, this method is illegal. - - - - - Inflate - return the result of inflating rect by the size provided, in all directions - If this is Empty, this method is illegal. - - - - - Inflate - return the result of inflating rect by the size provided, in all directions - If this is Empty, this method is illegal. - - - - - Returns the bounds of the transformed rectangle. - The Empty Rect is not affected by this call. - - - The rect which results from the transformation. - - The Rect to transform. - The Matrix by which to transform. - - - - Updates rectangle to be the bounds of the original value transformed - by the matrix. - The Empty Rect is not affected by this call. - - Matrix - - - - Scale the rectangle in the X and Y directions - - The scale in X - The scale in Y - - - - ContainsInternal - Performs just the "point inside" logic - - - bool - true if the point is inside the rect - - The x-coord of the point to test - The y-coord of the point to test - - - - Constructor which sets the size's initial values. - - float - The initial Width - float - THe initial Height - - - - Empty - a static property which provides an Empty size. Width and Height are - negative-infinity. This is the only situation - where size can be negative. - - - - - Returns a new with the same width and the specified height. - - The height. - The new . - - - - Returns a new with the same height and the specified width. - - The width. - The new . - - - - Inflates the size by a . 放大 - - The thickness. - The inflated size. - - - - IsEmpty - this returns true if this size is the Empty size. - Note: If size is 0 this Size still contains a 0 or 1 dimensional set - of points, so this method should not be used to check for 0 area. - - - - - Width - Default is 0 - - - - - Height - Default is 0 - - - - - Constrains the size. 最小尺寸 - - The size to constrain to. - The constrained size. - - - - Deflates the size by a . 缩小 - - The thickness. - The deflated size. - The deflated size cannot be less than 0. - - - - Explicit conversion to Vector. - - - Vector - A Vector equal to this Size - - Size - the Size to convert to a Vector - - - - Explicit conversion to Point - - - Point - A Point equal to this Size - - Size - the Size to convert to a Point - - - - Scales a size. - - The size - The scaling factor. - The scaled size. - - - - Scales a size. - - The size - The scaling factor. - The scaled size. - - - - Compares two Size instances for exact equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Size instances are exactly equal, false otherwise - - The first Size to compare - The second Size to compare - - - - Compares two Size instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Size instances are exactly unequal, false otherwise - - The first Size to compare - The second Size to compare - - - - 相等和 == 不完全一致的,==是大约 - - - - - - - - Equals - compares this Size with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Size and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Size with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Size to compare to "this" - - - - Returns the HashCode for this Size - - - int - the HashCode for this Size - - - - - w,h - - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the IFormatProvider - passed in. If the provider is null, the CurrentCulture is used. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - - Determines if this converter can convert an object in the given source - type to the native type of the converter. - - - - - Gets a value indicating whether this converter can - convert an object to the given destination type using the context. - - - - - Converts the given object to the converter's native type. - - - - - Converts the given object to another type. The most common types to convert - are to and from a string object. The default implementation will make a call - to ToString on the object if the object is valid and if the destination - type is string. If this cannot convert to the desitnation type, this will - throw a NotSupportedException. - - - - - - Creates an instance of this type given a set of property values - for the object. This is useful for objects that are immutable, but still - want to provide changable properties. - - - - - - Determines if changing a value on this object should require a call to - CreateInstance to create a new value. - - - - - - Retrieves the set of properties for this type. By default, a type has - does not return any properties. An easy implementation of this method - can just call TypeDescriptor.GetProperties for the correct data type. - - - - - - Determines if this object supports properties. By default, this - is false. - - - - - 纯色笔刷 - - - - - 纯色笔刷 - - - - - - 线条样式 - - - - - 线条连接处形状 - - - - - 线条类型 - - - - - 线条宽度 - - - - - 获取或设置直线的起点到短划线图案起始处的距离。 - - - - - 获取或设置自定义的短划线和空白区域的数组。只能偶数个 - - - - - 线条两端样式 - - - - - width[,Solid/Dash/Dot/DashDot/DashDotDot] - - - - - - 短线 3, 3 - - - - - 点 1,1 - - - - - 3, 3, 1, 3 - - - - - 3, 3, 1, 3, 1, 3 - - - - - 自定义 - - - - - 文档元素对齐方式 - - - - - In horizontal inline progression, the text is aligned on the left. - - - - - In horizontal inline progression, the text is aligned on the right. - - - - - The text is center aligned. - - - - - 表示一个文本修饰,它是可添加到文本的视觉装饰(如下划线)。字符串格式: overline/Underline/Strikethrough [width] [Solid/Dash/Dot/DashDot/DashDotDot] [color] - - - - - 字符串格式: overline/Underline/Strikethrough [width] [Solid/Dash/Dot/DashDot/DashDotDot] [color] - - - - - - 下划线的垂直位置。 这是默认值。 - - - - - 上划线的垂直位置。 - - - - - 删除线的垂直位置。 - - - - - 图片纹理笔刷 - - - - - 平铺方式 - - - - - 变换 - - - - - 指定纹理或渐变平铺小于所填充的区域时 - - - - - 平铺渐变或纹理 - - - - - 纹理或渐变没有平铺 - - - - - Compares two Vector instances for exact inequality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, float.NaN is not equal to itself. - - - bool - true if the two Vector instances are exactly unequal, false otherwise - - The first Vector to compare - The second Vector to compare - - - - Compares two Vector instances for object equality. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two Vector instances are exactly equal, false otherwise - - The first Vector to compare - The second Vector to compare - - - - Equals - compares this Vector with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of Vector and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this Vector with the passed in object. In this equality - float.NaN is equal to itself, unlike in numeric equality. - Note that float values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The Vector to compare to "this" - - - - Returns the HashCode for this Vector - - - int - the HashCode for this Vector - - - - - X - float. Default value is 0. - - - - - Y - float. Default value is 0. - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the IFormatProvider - passed in. If the provider is null, the CurrentCulture is used. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Returns a new vector with the specified X coordinate. - - The X coordinate. - The new vector. - - - - Returns a new vector with the specified Y coordinate. - - The Y coordinate. - The new vector. - - - - Length Property - the length of this Vector - - - - - LengthSquared Property - the squared length of this Vector - - - - - Normalize - Updates this Vector to maintain its direction, but to have a length - of 1. This is equivalent to dividing this Vector by Length - - - - - CrossProduct - Returns the cross product: vector1.X*vector2.Y - vector1.Y*vector2.X - - - Returns the cross product: vector1.X*vector2.Y - vector1.Y*vector2.X - - The first Vector - The second Vector - - - - AngleBetween - the angle between 2 vectors - - - Returns the the angle in degrees between vector1 and vector2 - - The first Vector - The second Vector - - - - Operator -Vector (unary negation) - - - - - Negates the values of X and Y on this Vector - - - - - Operator Vector + Vector - - - - - Add: Vector + Vector - - - - - Operator Vector - Vector - - - - - Subtract: Vector - Vector - - - - - Operator Vector + Point - - - - - Add: Vector + Point - - - - - Operator Vector * float - - - - - Multiply: Vector * float - - - - - Operator float * Vector - - - - - Multiply: float * Vector - - - - - Operator Vector / float - - - - - Multiply: Vector / float - - - - - Operator Vector * Matrix - - - - - Multiply: Vector * Matrix - - - - - Operator Vector * Vector, interpreted as their dot product - - - - - Multiply - Returns the dot product: vector1.X*vector2.X + vector1.Y*vector2.Y - - - Returns the dot product: vector1.X*vector2.X + vector1.Y*vector2.Y - - The first Vector - The second Vector - - - - Determinant - Returns the determinant det(vector1, vector2) - - - Returns the determinant: vector1.X*vector2.Y - vector1.Y*vector2.X - - The first Vector - The second Vector - - - - Explicit conversion to Size. Note that since Size cannot contain negative values, - the resulting size will contains the absolute values of X and Y - - - Size - A Size equal to this Vector - - Vector - the Vector to convert to a Size - - - - Explicit conversion to Point - - - Point - A Point equal to this Vector - - Vector - the Vector to convert to a Point - - - - 模糊特效 - - - - - 模糊特效 - - - - - 模糊半径 - - - - - 高斯模糊,指针实现 - - - 模糊半径 - 处理区域 - - - - - 高斯模糊阴影,不透明度来区分边界 - - - - - - - - - - Gaussian blur kernel with the size 5x5 - - - - - Gaussian blur kernel with the size 3x3 - - - - - Sharpen kernel with the size 3x3 - - - - - 卷积计算 - - - The kernel used for convolution. - A new Bitmap that is a filtered version of the input. - - - - Creates a new filtered WriteableBitmap. - - The Bitmap. - The kernel used for convolution. - The factor used for the kernel summing. - The offset used for the kernel summing. - A new Bitmap that is a filtered version of the input. - - - - 位图特效 - - - - - 调整相对根元素的矩形渲染区域,渲染区域只能变大或者不变,不能变小 - - - - - - - 执行位图特效 - - - 控件位图图像,位图尺寸和根元素尺寸一样 - - - - 应用多个位图特效 - - - - - 应用多个位图特效 - - - - - 灰度图 - - - - - 灰度图 - - - - - 将图片转换成黑白色效果 - - 原图 - - - - 马赛克特效 - - - - - 马赛克特效 - - - - - 马赛克大小 - - - - - 调整控件透明度 - - - - - 不透明度0-1 - - - - - 切割特效,用来做动画 - - - - - 动画进度值0-1 - - - - - 切割行数 - - - - - 切割列数 - - - - - 浮雕 - - - - - 浮雕 - - - - - 高斯模糊高性能算法 - - - - - 快速模糊 - - The bitmap to process. - Gaussian blur radius. - - - - 快速模糊 - - - - - - - 处理阴影, - - - - 过滤掉中间的区域,提高性能 - - - - 描述一个事件用于观察者模式 - - - - - - - 描述一个事件用于观察者模式 - - - - - - - - 事件名 - - - - - 事件数据 - - - - - 事件发起者 - - - - - 单精度浮点带单位 - - - - - 单精度浮点带单位 - - 如果value等于 float.NaN 一般相当于Auto - - - - - 如果value等于 float.NaN 一般相当于Auto - - - - - 单位 - - - - - 计算实际值 - - 单位为百分比的时候用的计算值 - - - - - 双精度转化为单精度,单位默认 - - - - - - 数字%或者直接数字或者auto - - - - - - 默认,96DPI中1像素 - - - - - 百分比 % - - - - - GreaterThan - Returns whether or not the first float is greater than the second float. - That is, whether or not the first is strictly greater than *and* not within epsilon of - the other number. Note that this epsilon is proportional to the numbers themselves - to that AreClose survives scalar multiplication. Note, - There are plenty of ways for this to return false even for numbers which - are theoretically identical, so no code calling this should fail to work if this - returns false. This is important enough to repeat: - NB: NO CODE CALLING THIS FUNCTION SHOULD DEPEND ON ACCURATE RESULTS - this should be - used for optimizations *only*. - - - bool - the result of the GreaterThan comparision. - - The first Float to compare. - The second Float to compare. - - - - AreClose - - - - - IsOne - - - - - IsZero - - - - - IsCloseToDivideByZero - - - - - 自动切换List 和 Dictionary,如果4条记录以下的,比直接使用Dictionary稍微省一丢丢内存 - - - - - - - 定义一个编辑器 - - - - - 是否启用输入法,主要描述的是中文这类输入法 - - - - - 是否是只读,只读模式下,一般不主动显示软键盘 - - - - - 剪贴板 - - - - - 命中测试可视范围的UI元素,返回被命中到的UI元素 - - - - - - - - - - - 获取或设置指示焦点更改发生方式的值。 - - - - - Interface to access information about the data of a drag-and-drop or Clipboard operation. - - - - - Checks whether a given DataFormat is present in this object - - - - - - Tries to get the data of the given DataFormat. - - - - - Image对象 - - - - - 文件名字符串数组 - - - - - Provides the base class for all input devices. - - - - - Constructs an instance of the InputDevice class. - - - - - Read-only access to the input device that initiated this - event. - - - - - Read-only access to the mouse device associated with this event. - - - - - 解析后的按键类型 - - - - - 平台键值 - - - - - MacOS Command - - - - - Defines the keys available on a keyboard. - - - - - No key pressed. - - - - - The Cancel key. - - - - - The Back key. - - - - - The Tab key. - - - - - The Linefeed key. - - - - - The Clear key. - - - - - The Return key. - - - - - The Enter key. - - - - - The Pause key. - - - - - The Caps Lock key. - - - - - The Caps Lock key. - - - - - The IME Hangul mode key. - - - - - The IME Kana mode key. - - - - - The IME Junja mode key. - - - - - The IME Final mode key. - - - - - The IME Kanji mode key. - - - - - The IME Hanja mode key. - - - - - The Escape key. - - - - - The IME Convert key. - - - - - The IME NonConvert key. - - - - - The IME Accept key. - - - - - The IME Mode change key. - - - - - The space bar. - - - - - The Page Up key. - - - - - The Page Up key. - - - - - The Page Down key. - - - - - The Page Down key. - - - - - The End key. - - - - - The Home key. - - - - - The Left arrow key. - - - - - The Up arrow key. - - - - - The Right arrow key. - - - - - The Down arrow key. - - - - - The Select key. - - - - - The Print key. - - - - - The Execute key. - - - - - The Print Screen key. - - - - - The Print Screen key. - - - - - The Insert key. - - - - - The Delete key. - - - - - The Help key. - - - - - The 0 key. - - - - - The 1 key. - - - - - The 2 key. - - - - - The 3 key. - - - - - The 4 key. - - - - - The 5 key. - - - - - The 6 key. - - - - - The 7 key. - - - - - The 8 key. - - - - - The 9 key. - - - - - The A key. - - - - - The B key. - - - - - The C key. - - - - - The D key. - - - - - The E key. - - - - - The F key. - - - - - The G key. - - - - - The H key. - - - - - The I key. - - - - - The J key. - - - - - The K key. - - - - - The L key. - - - - - The M key. - - - - - The N key. - - - - - The O key. - - - - - The P key. - - - - - The Q key. - - - - - The R key. - - - - - The S key. - - - - - The T key. - - - - - The U key. - - - - - The V key. - - - - - The W key. - - - - - The X key. - - - - - The Y key. - - - - - The Z key. - - - - - The left Windows key. - - - - - The right Windows key. - - - - - The Application key. - - - - - The Sleep key. - - - - - The 0 key on the numeric keypad. - - - - - The 1 key on the numeric keypad. - - - - - The 2 key on the numeric keypad. - - - - - The 3 key on the numeric keypad. - - - - - The 4 key on the numeric keypad. - - - - - The 5 key on the numeric keypad. - - - - - The 6 key on the numeric keypad. - - - - - The 7 key on the numeric keypad. - - - - - The 8 key on the numeric keypad. - - - - - The 9 key on the numeric keypad. - - - - - The Multiply key. - - - - - The Add key. - - - - - The Separator key. - - - - - The Subtract key. - - - - - The Decimal key. - - - - - The Divide key. - - - - - The F1 key. - - - - - The F2 key. - - - - - The F3 key. - - - - - The F4 key. - - - - - The F5 key. - - - - - The F6 key. - - - - - The F7 key. - - - - - The F8 key. - - - - - The F9 key. - - - - - The F10 key. - - - - - The F11 key. - - - - - The F12 key. - - - - - The F13 key. - - - - - The F14 key. - - - - - The F15 key. - - - - - The F16 key. - - - - - The F17 key. - - - - - The F18 key. - - - - - The F19 key. - - - - - The F20 key. - - - - - The F21 key. - - - - - The F22 key. - - - - - The F23 key. - - - - - The F24 key. - - - - - The Numlock key. - - - - - The Scroll key. - - - - - The left Shift key. - - - - - The right Shift key. - - - - - The left Ctrl key. - - - - - The right Ctrl key. - - - - - The left Alt key. - - - - - The right Alt key. - - - - - The browser Back key. - - - - - The browser Forward key. - - - - - The browser Refresh key. - - - - - The browser Stop key. - - - - - The browser Search key. - - - - - The browser Favorites key. - - - - - The browser Home key. - - - - - The Volume Mute key. - - - - - The Volume Down key. - - - - - The Volume Up key. - - - - - The media Next Track key. - - - - - The media Previous Track key. - - - - - The media Stop key. - - - - - The media Play/Pause key. - - - - - The Launch Mail key. - - - - - The Select Media key. - - - - - The Launch Application 1 key. - - - - - The Launch Application 2 key. - - - - - The OEM Semicolon key. - - - - - The OEM 1 key. - - - - - The OEM Plus key. - - - - - The OEM Comma key. - - - - - The OEM Minus key. - - - - - The OEM Period key. - - - - - The OEM Question Mark key. - - - - - The OEM 2 key. - - - - - The OEM Tilde key. - - - - - The OEM 3 key. - - - - - The ABNT_C1 (Brazilian) key. - - - - - The ABNT_C2 (Brazilian) key. - - - - - The OEM Open Brackets key. - - - - - The OEM 4 key. - - - - - The OEM Pipe key. - - - - - The OEM 5 key. - - - - - The OEM Close Brackets key. - - - - - The OEM 6 key. - - - - - The OEM Quotes key. - - - - - The OEM 7 key. - - - - - The OEM 8 key. - - - - - The OEM Backslash key. - - - - - The OEM 3 key. - - - - - A special key masking the real key being processed by an IME. - - - - - A special key masking the real key being processed as a system key. - - - - - The OEM ATTN key. - - - - - The DBE_ALPHANUMERIC key. - - - - - The OEM Finish key. - - - - - The DBE_KATAKANA key. - - - - - The DBE_HIRAGANA key. - - - - - The OEM Copy key. - - - - - The DBE_SBCSCHAR key. - - - - - The OEM Auto key. - - - - - The DBE_DBCSCHAR key. - - - - - The OEM ENLW key. - - - - - The OEM BackTab key. - - - - - The DBE_ROMAN key. - - - - - The DBE_NOROMAN key. - - - - - The ATTN key. - - - - - The CRSEL key. - - - - - The DBE_ENTERWORDREGISTERMODE key. - - - - - The EXSEL key. - - - - - The DBE_ENTERIMECONFIGMODE key. - - - - - The ERASE EOF Key. - - - - - The DBE_FLUSHSTRING key. - - - - - The Play key. - - - - - The DBE_CODEINPUT key. - - - - - The DBE_NOCODEINPUT key. - - - - - The Zoom key. - - - - - Reserved for future use. - - - - - The DBE_DETERMINESTRING key. - - - - - The DBE_ENTERDLGCONVERSIONMODE key. - - - - - The PA1 key. - - - - - The OEM Clear key. - - - - - The key is used with another key to create a single combined character. - - - - - OSX Platform-specific Fn+Left key - - - - - OSX Platform-specific Fn+Right key - - - - - OSX Platform-specific Fn+Up key - - - - - OSX Platform-specific Fn+Down key - - - - - 包含在操作事件发生时累积的转换数据。 - - - - - 当前触发事件的按键 - - - - - Read-only access to the button state. - - - - - The left mouse button. - - - - - The middle mouse button. - - - - - The right mouse button. - - - - - The fourth mouse button. - - - - - The fifth mouse button. - - - - - 指定可能的鼠标按钮状态。 - - - - - 鼠标位置屏幕像素坐标 - - - - - 获取相对该元素的鼠标坐标 - - - - - - - 被捕获的元素,被捕获的元素可以接受超出元素范围的鼠标事件 - - - - - 捕获元素 - - - - - - 命中测试可视范围的UI元素,返回被命中到的UI元素 - - - - - - - - - - 是否来自屏幕触摸 - - - - - 未指定,比如直接调用Focus方法 - - - - - 用户 tab 在控件之间更改了焦点。 - - - - - 用户按方向导航键更改焦点。 - - - - - 焦点由指针单击更改。 - - - - - 获取相对于该元素的触摸点 - - - - - - - 清除记录的触摸点 - - - - - 命中测试可视范围的UI元素,返回被命中到的UI元素 - - - - - - - - - - 多点触控转换的变换数据 - - - - - 别名,标记于字段或属性上的特性 - Alias,Characteristics marked on fields or property - - - - - Structural aliases - - - - - - 被标记的元素,在序列化或反序列化时时将被忽略 - Marked elements are ignored when serialized or deserialized - - - - - 当被标记元素的值为默认值时,序列化时将忽略其元素 - When the value of the tagged element is the default, its element is ignored when serialized - - - - - 对Model进行Json反序列化时指定一个构造函数 - Specify a constructor for Json deserialization of Model - - - - - 反序列化时的指定构造函数以及参数,args必须和构造函数参数匹配 - Deserializing the specified constructor and parameters, args must match the constructor parameters - - 该构造函数的参数,The parameters of the constructor - - - - 序列化仅包含此元素,和Ignore相反 - Serialization contains only this element, as opposed to Ignore - - - - - 元素排序,标记于字段或属性上的特性 - Element sort, a feature marked on a field or property - - - - - JsonOrder - - Order number - - - - 对Model的值格式化器特性,可标注于字段,属性,结构或类上,(字段/属性) 优先级大于 (结构/类) - Value formatter features of Model can be labeled on fields, properties, structures or classes with priority of - (fields/properties) over (structures/classes) - - - - - 序列化时 - Model的Value的格式化器 - Serialization time - Value formatter for Model - - 需要被格式化的源元素数据,Source element data that needs to be formatted - 值的类型,The type of the value - 用于提供一些配置选项,Used to provide some configuration options - 决定最终是否进行值格式化,Determines whether the value is ultimately formatted - 格式化后的结果,Formatted results - - - - 反序列化时 - Model的Value的格式化器 - When deserializing - Value formatter for Model - - 从Json字符串中读取的匹配字符串,Matched strings read from Json strings - 值的类型,The type of the value - 用于提供一些配置选项,Used to provide some configuration options - 决定最终是否进行值格式化,Determines whether the value is ultimately formatted - 格式化后的结果,Formatted results - - - - 类型解析错误 - Json Deserialization TypeResolution Exception - - - - - 不受支持的解析类型 - Unsupported parse type - - - - - 错误的json字符 - Json Wrong Character - - - - - Json Array - - - - - Json Object - - - - - 对Model进行Json反序列化时全局值格式化器 - Global value formatter for Json deserialization of Model - - Json字符串中的片段,Fragments in the Json string - 该jsonFragment所对应的类型,The type corresponding to the jsonFragment - 提供一些选项进行访问,Provides options for access - 决定最终是否进行值格式化,Determines whether the value is ultimately formatted - - - - - Json Deserialize Handler - - - - - Json Serializer Option - - - - - 反序列化全局配置项 - Deserialized global configuration's options - - - - - 对Model的全局Key格式化器 - Read the first letter of Key in Model: default, capitalization, lowercase - - - - - 对Model的全局Value格式化器 - Global Value Formatter for Model - - - - - 对Model中的字符读取状态:默认、首字母大写、首字母小写、忽略大小写 - Read status for characters in the Model: Default, Initial uppercase, Initial lowercase, Ignore case - - - - - 在对Model进行反序列化时,当JsonCharacterReadState为默认值时,忽略JSON字符中指定的Key - When deserializing a model, the key specified in the JSON character is ignored when the JsonCharacterReadState is the default - - - - - 在对Model进行反序列化时,当JsonCharacterReadState为默认值时,是否忽略JSON字符中多余的Key - When deserializing the model, whether to ignore the extra key in the JSON character when JsonCharacterReadState is the default value - - - - - 对Model中的字符读取状态:默认、首字母大写、首字母小写、忽略大小写 - Read status for characters in the Model: Default, Initial uppercase, Initial lowercase, Ignore case - - - - - 默认 - Default - - - - - 首字母大写 - Initial uppercase - - - - - 首字母小写 - Initial lowercase - - - - - 仅反序列化时使用,忽略大小写 - Used only for deserialization ,Ignore case - - - - - Datetime格式化枚举 - Datetime Format Enumeration - - - - - DateTimes will be formatted as "yyyy-MM-ddThh:mm:ssZ" where - yyyy is the year, MM is the month (starting at 01), dd is the day (starting at 01), - hh is the hour (starting at 00, continuing to 24), mm is the minute (start at 00), - and ss is the second (starting at 00). - - Examples: - 2011-07-14T19:43:37Z - 2012-01-02T03:04:05Z - - - - - DateTimes will be formatted as "ddd, dd MMM yyyy HH:mm:ss GMT" where - ddd is the abbreviation of a day, dd is the day (starting at 01), MMM is the abbreviation of a month, - yyyy is the year, HH is the hour (starting at 00, continuing to 24), mm is the minute (start at 00), - and ss is the second (starting at 00), and GMT is a literal indicating the timezone (always GMT). - - Examples: - Thu, 10 Apr 2008 13:30:00 GMT - Tue, 10 Mar 2015 00:14:34 GMT - - - - - DateTimes will be formatted as "\/Date(##...##)\/" where ##...## is the - number of milliseconds since the unix epoch (January 1st, 1970 UTC). - See: https://msdn.microsoft.com/en-us/library/bb299886.aspx - - Example: - "\/Date(628318530718)\/" - - TimeSpans will be formatted as "days.hours:minutes:seconds.fractionalSeconds" - - - - - 对Model进行Json序列化时全局值格式化器 - The global value formatter when the Model is Json serialized - - 传进来的值,The value passed in - 值的类型,The type of the value - 提供一些选项进行访问,Provides options for access - 决定最终是否进行值格式化,Determines whether the value is ultimately formatted - - - - - 发生循环引用时的处理方式枚举 - Enumeration of processing methods when circular references occur - - - - - 默认,不处理 - Default - - - - - 将值处理为null - Processing the value to null - - - - - 删除该值 - Delete this value - - - - - 返回空(Keyvalue =>{},Array=>[]) - Return empty - - - - - 提供了用于在序列化中的一些配置 - Provides some configuration for serialization - - - - - Write Long - - - - - Write Char - - - - - Write String - - - - - Write Chars - - - - - Json Serializer Option - - - - - Used for infinite loop interreferences - - - - - Used for JsonRefernceHandlingEnum. Remove case, customtype comma to delete - - - - - 序列化全局配置器 - Serializer global configuration's options - - - - - Datetime格式化枚举,默认ISO8601 - Datetime formatted enumeration, default ISO8601 - - - - - Timespan格式化枚举,默认ISO8601 - Timespan formatted enumeration, default ISO8601 - - - - - 枚举是否被序列化为数字,true -> 数字, false -> 字符 - Enumeration is serialized into numbers, true - > numbers, false - > characters - - - - - byte[]数组是否按照base64格式来序列化, true -> base64 , false -> array - Is the byte [] array serialized in Base64 format - - - - - 对Model中的Key的首字母写入状态:默认,大写,小写 - Write the first letter of Key in Model: default, capitalization, lowercase - - - - - 对实例因互相引用而导致的无限循环的情况的处理 - Handling of infinite loops caused by cross-references of instances - - - - - 是否忽略Model中原本值为null的对象(不包括由忽略互引用导致的null) - Whether to ignore null objects in Model (excluding null caused by ignoring mutual references) - - - - - 对Model中要忽略写入的Key - Key to ignore writing in Model - - - - - 对Model的全局Key格式化器 - Global Key formatter for Model - - - - - 对Model的全局Value格式化器 - Global Value Formatter for Model - - - - - Timespan格式化枚举 - Timespan Format Enumeration - - - - - TimeSpans will be formatted as ISO8601 durations. - Examples: P123DT11H30M2.3S - - - - - TimeSpans will be formatted as "days.hours:minutes:seconds.fractionalSeconds" - - - - - KoobooJson Serializer - - - - - Serialize objects into JSON strings - - Value type - Value - Serialize option - JSON strings - - - - Serialize Object from the StreamWriter - - Value type - Value - Stream - Serialize option - - - - Converting Json strings to objects - - Types converted - Json string - Json Deserialize Option - Object - - - - Converting Json strings to objects - - Json string - Types converted - Json Deserialize Option - Object - - - - Deserializes JSON from the StreamReader - - Types converted - Stream - Json Deserialize Option - Object - - - - Deserializes JSON from the StreamReader - - Stream - Types converted - Json Deserialize Option - Object - - - - 在可视范围内的元素 - - - - - - - - 元素是否在可视化范围内 - - - - - - - 线性渐变填充 - - - - - 线性渐变填充 - - - - - 颜色梯度 - - - - - Object数据转换扩展 - - - - - 分配一个变量,用来在绑定的时候使用,比如 new Button{Content="test"}.Assign(out var btn) - - - - - - - - - 观察事件或者属性变化,用于Reactive 开发模式,代替 Observable.FromEventPattern - - - - - 事件名或者属性名 - - - - - 设置控件模板,就是对Control的Template 属性进行泛型包装 - - - - - - - - 延迟设置属性值 - - - - - - a=>a.Property - - - - - 延迟操作 - - - - - 循环次数 - - - - 延迟操作 - - - - - - - - - - - 转成IList用于Items属性设置 - - - - - - - 必须是DataTable转换为IList的才行 - - - - - - - 转成IList用于Items属性设置 - - - - - - 是否大约相等 Math.Abs(f1 - f2) < 0.0001 - - - - - - - - 对象是否相等 - - - - - - - - 字符串转具体的数据 - - - - - - - - 针对Grid添加控件元素,并设置所在的单元格位置 - - - - 列 - 行 - 跨列 - 跨行 - - - - 添加Point - - - - - - - - 获取附加属性的名称 - - - - - - - - 类型转换 - - - - - - - - 获取对象属性值 - - - - - - - - 设置属性值 - - - - - - - - 定义一个加载动画,你可以将耗时操作放到work委托里,可以异步等待返回一个值。里面可以执行多个分段的任务,并且刷新Message。 - var r = await this.ShowLoading("开始加载...",a => - { - System.Threading.Thread.Sleep(1000); - a.Message = "加载组件1..."; - System.Threading.Thread.Sleep(1000); - a.Message = "加载组件2..."; - System.Threading.Thread.Sleep(1000); - return "结果"; - }); - - - - - - - - - - 定义一个加载动画,你可以将耗时操作放到work委托里,可以异步等待返回一个值。里面可以执行多个分段的任务,并且刷新Message。 - await this.ShowLoading("开始加载...",a => - { - System.Threading.Thread.Sleep(1000); - a.Message = "加载组件1..."; - System.Threading.Thread.Sleep(1000); - a.Message = "加载组件2..."; - System.Threading.Thread.Sleep(1000); - }); - - - - - - - - - 循环创建子元素, - - - - 循环次数 - 循环中的索引,返回创建结果 - - - - - 循环创建子元素, - - - - 循环次数 - 循环中的索引,当前容器,返回创建结果 - - - - - 一般用来设置元素属性,初始化阶段比css优先级高 - - - - - - - - - 事件列表,用于优化事件订阅内存 - - - - - OpenGL导入函数名 - - - - - OpenGL导入函数名 - - - - - - 用来获取和保存Skia创建的GRContext - - - - - 获取默认帧缓存信息 - - - - - - - - OpenGL里获取函数地址的方法 - - - - - - - 定义一个可选参数 - - - - - - 参数值 - - - - - 是否有参数值 - - - - - Represents a point in device pixels. - - - - - A point representing 0,0. - - - - - Initializes a new instance of the structure. - - The X co-ordinate. - The Y co-ordinate. - - - - Gets the X co-ordinate. - - - - - Gets the Y co-ordinate. - - - - - Checks for equality between two s. - - The first point. - The second point. - True if the points are equal; otherwise false. - - - - Checks for inequality between two s. - - The first point. - The second point. - True if the points are unequal; otherwise false. - - - - Checks for equality between a point and an object. - - The object. - - True if is a point that equals the current point. - - - - - Returns a hash code for a . - - The hash code. - - - - Returns a new with the same Y co-ordinate and the specified X co-ordinate. - - The X co-ordinate. - The new . - - - - Returns a new with the same X co-ordinate and the specified Y co-ordinate. - - The Y co-ordinate. - The new . - - - - Converts the to a device-independent using the - specified scaling factor. - - The scaling factor. - The device-independent point. - - - - Converts the to a device-independent using the - specified scaling factor. - - The scaling factor. - The device-independent point. - - - - Converts the to a device-independent using the - specified dots per inch (DPI). - - The dots per inch of the device. - The device-independent point. - - - - Converts the to a device-independent using the - specified dots per inch (DPI). - - The dots per inch of the device. - The device-independent point. - - - - Converts a to device pixels using the specified scaling factor. - - The point. - The scaling factor. - The device-independent point. - - - - Converts a to device pixels using the specified scaling factor. - - The point. - The scaling factor. - The device-independent point. - - - - Converts a to device pixels using the specified dots per inch (DPI). - - The point. - The dots per inch of the device. - The device-independent point. - - - - Converts a to device pixels using the specified dots per inch (DPI). - - The point. - The dots per inch of the device. - The device-independent point. - - - - Returns the string representation of the point. - - The string representation of the point. - - - - Compares two PixelRect instances for exact inequality. - Note that int values can acquire error when operated upon, such that - an exact comparison between two values which are logically equal may fail. - Furthermore, using this equality operator, int.NaN is not equal to itself. - - - bool - true if the two PixelRect instances are exactly unequal, false otherwise - - The first PixelRect to compare - The second PixelRect to compare - - - - Compares two PixelRect instances for object equality. In this equality - int.NaN is equal to itself, unlike in numeric equality. - Note that int values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the two PixelRect instances are exactly equal, false otherwise - - The first PixelRect to compare - The second PixelRect to compare - - - - Equals - compares this PixelRect with the passed in object. In this equality - int.NaN is equal to itself, unlike in numeric equality. - Note that int values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if the object is an instance of PixelRect and if it's equal to "this". - - The object to compare to "this" - - - - Equals - compares this PixelRect with the passed in object. In this equality - int.NaN is equal to itself, unlike in numeric equality. - Note that int values can acquire error when operated upon, such that - an exact comparison between two values which - are logically equal may fail. - - - bool - true if "value" is equal to "this". - - The PixelRect to compare to "this" - - - - Returns the HashCode for this PixelRect - - - int - the HashCode for this PixelRect - - - - - Creates a string representation of this object based on the current culture. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the IFormatProvider - passed in. If the provider is null, the CurrentCulture is used. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Creates a string representation of this object based on the format string - and IFormatProvider passed in. - If the provider is null, the CurrentCulture is used. - See the documentation for IFormattable for more information. - - - A string representation of this object. - - - - - Constructor which sets the initial values to the values of the parameters. - Width and Height must be non-negative - - - - - Empty - a static property which provides an Empty rectangle. X and Y are positive-infinity - and Width and Height are negative infinity. This is the only situation where Width or - Height can be negative. - - - - - Location - The Point representing the origin of the Rectangle - - - - - Size - The Size representing the area of the Rectangle - - - - - X - The X coordinate of the Location. - If this is the empty rectangle, the value will be positive infinity. - If this rect is Empty, setting this property is illegal. - - - - - Y - The Y coordinate of the Location - If this is the empty rectangle, the value will be positive infinity. - If this rect is Empty, setting this property is illegal. - - - - - Width - The Width component of the Size. This cannot be set to negative, and will only - be negative if this is the empty rectangle, in which case it will be negative infinity. - If this rect is Empty, setting this property is illegal. - - - - - Height - The Height component of the Size. This cannot be set to negative, and will only - be negative if this is the empty rectangle, in which case it will be negative infinity. - If this rect is Empty, setting this property is illegal. - - - - - Left Property - This is a read-only alias for X - If this is the empty rectangle, the value will be positive infinity. - - - - - Top Property - This is a read-only alias for Y - If this is the empty rectangle, the value will be positive infinity. - - - - - Right Property - This is a read-only alias for X + Width - If this is the empty rectangle, the value will be negative infinity. - - - - - Bottom Property - This is a read-only alias for Y + Height - If this is the empty rectangle, the value will be negative infinity. - - - - - TopLeft Property - This is a read-only alias for the Point which is at X, Y - If this is the empty rectangle, the value will be positive infinity, positive infinity. - - - - - TopRight Property - This is a read-only alias for the Point which is at X + Width, Y - If this is the empty rectangle, the value will be negative infinity, positive infinity. - - - - - BottomLeft Property - This is a read-only alias for the Point which is at X, Y + Height - If this is the empty rectangle, the value will be positive infinity, negative infinity. - - - - - BottomRight Property - This is a read-only alias for the Point which is at X + Width, Y + Height - If this is the empty rectangle, the value will be negative infinity, negative infinity. - - - - - Gets the center point of the rectangle. - - - - - Contains - Returns true if the Point is within the rectangle, inclusive of the edges. - Returns false otherwise. - - The point which is being tested - - Returns true if the Point is within the rectangle. - Returns false otherwise - - - - - Contains - Returns true if the Point represented by x,y is within the rectangle inclusive of the edges. - Returns false otherwise. - - X coordinate of the point which is being tested - Y coordinate of the point which is being tested - - Returns true if the Point represented by x,y is within the rectangle. - Returns false otherwise. - - - - - Contains - Returns true if the PixelRect non-Empty and is entirely contained within the - rectangle, inclusive of the edges. - Returns false otherwise - - - - - IntersectsWith - Returns true if the PixelRect intersects with this rectangle - Returns false otherwise. - Note that if one edge is coincident, this is considered an intersection. - - - Returns true if the PixelRect intersects with this rectangle - Returns false otherwise. - or Height - - PixelRect - - - - Intersect - Update this rectangle to be the intersection of this and rect - If either this or rect are Empty, the result is Empty as well. - - The rect to intersect with this - - - - Intersect - Return the result of the intersection of rect1 and rect2. - If either this or rect are Empty, the result is Empty as well. - - - - - Union - Update this rectangle to be the union of this and rect. - - - - - Union - Return the result of the union of rect1 and rect2. - - - - - Offset - translate the Location by the offset provided - If this is Empty, this method is illegal. - - - - - Offset - return the result of offsetting rect by the offset provided - If this is Empty, this method is illegal. - - - - - Inflate - inflate the bounds by the size provided, in all directions - If this is Empty, this method is illegal. - - - - - Inflate - inflate the bounds by the size provided, in all directions. - If -width is > Width / 2 or -height is > Height / 2, this PixelRect becomes Empty - If this is Empty, this method is illegal. - - - - - Inflate - return the result of inflating rect by the size provided, in all directions - If this is Empty, this method is illegal. - - - - - Inflate - return the result of inflating rect by the size provided, in all directions - If this is Empty, this method is illegal. - - - - - Scale the rectangle in the X and Y directions - - The scale in X - The scale in Y - - - - ContainsInternal - Performs just the "point inside" logic - - - bool - true if the point is inside the rect - - The x-coord of the point to test - The y-coord of the point to test - - - - Represents a size in device pixels. - - - - - A size representing zero - - - - - Initializes a new instance of the structure. - - The width. - The height. - - - - Gets the width. - - - - - Gets the height. - - - - - Checks for equality between two s. - - The first size. - The second size. - True if the sizes are equal; otherwise false. - - - - Checks for inequality between two s. - - The first size. - The second size. - True if the sizes are unequal; otherwise false. - - - - Checks for equality between a size and an object. - - The object. - - True if is a size that equals the current size. - - - - - Returns a hash code for a . - - The hash code. - - - - Returns a new with the same height and the specified width. - - The width. - The new . - - - - Returns a new with the same width and the specified height. - - The height. - The new . - - - - Converts the to a device-independent using the - specified scaling factor. - - The scaling factor. - The device-independent size. - - - - Converts the to a device-independent using the - specified scaling factor. - - The scaling factor. - The device-independent size. - - - - Converts the to a device-independent using the - specified dots per inch (DPI). - - The dots per inch. - The device-independent size. - - - - Converts the to a device-independent using the - specified dots per inch (DPI). - - The dots per inch. - The device-independent size. - - - - Converts a to device pixels using the specified scaling factor. - - The size. - The scaling factor. - The device-independent size. - - - - Converts a to device pixels using the specified scaling factor. - - The size. - The scaling factor. - The device-independent size. - - - - Converts a to device pixels using the specified dots per inch (DPI). - - The size. - The dots per inch. - The device-independent size. - - - - Converts a to device pixels using the specified dots per inch (DPI). - - The size. - The dots per inch. - The device-independent size. - - - - Returns the string representation of the size. - - The string representation of the size. - - - - 程序启动之后持续时间 - - - - - 初始化运行环境 - - - - - - 执行消息循环 - - - - - 可以支持css定义加载的字体,就可以不需要调用该方法。支持内嵌资源路径res://或者本地路径file:///或者在线路径http:// - - - 不设置的话,用图形引擎解析出来的名字,不同图形引擎加载同一个字体可能会有不同的名字,可以自己定义个确定的名字来避免不同名称加载不到字体的问题。 - - - - 当前操作系统类型 - - - - - 获取图形工厂 - - - - - - 主窗体 - - - - - 关闭主窗体,导致程序退出 - - - - - 程序启动目录 - - - - - 当前运行时是否是设计模式 - - - - - 基础缩放值,默认是1,用于在原有的DPI缩放上再加个缩放比例,只能在程序初始化的时候设置。 - - - - - 是否允许开发者工具读取元素 - - - - - 禁止弹窗关闭,用于调试期间调试弹窗样式 - - - - - 定义原生控件内嵌容器的接口 - - - - - 主线程调度接口 - - - - - 顶级窗口 - - - - - 表示一个独立的页面,比如一个托管控件 - - - - - 将指定工作区点的位置计算成屏幕坐标。 - - - - - - - 将指定屏幕点的位置计算成工作区坐标 - - - - - - - 捕获鼠标 - - - - - 释放捕获的鼠标 - - - - - 设置中文输入法位置 - - - - - - 获取调度器 - - - - - - 鼠标位置屏幕像素坐标 - - - - - 双击最大间隔时间 - - - - - 一般用于模态窗体 - - - - - - 文件对话框 - - The details of the file dialog to show. - The parent window. - A task returning the selected filenames. - - - - 目录对话框 - - - - - - - - 确定是否是平台的功能热键 - - - - - - - 获取显示的边界。单位为像素 - - - - - 获取显示的工作区域。 工作区域是显示内容中,不包括任务栏、 停靠的窗口和已停靠的工具条的桌面区域。单位为像素 - - - - - 是否是主屏 - - - - - 屏幕截图 - - - - - - 支持单位百分比的Point,格式:10,10 10%,10% - - - - - 径向渐变 - - - - - 径向渐变 - - - - - 获取或设置径向渐变的最外面圆的中心。 - - - - - 获取或设置径向渐变的最外面圆的半径。 - - - - - 颜色梯度 - - - - - 用于实现快速反射调用 - - - - - 保存当前的类型缓存。 一般是先调用SetTypeCache,再使用一些可卸载程序集,程序集卸载之后,再调用 RecoveryTypeCache - - - - - 恢复之前保存的类型缓存。 一般是先调用SetTypeCache,再使用一些可卸载程序集,程序集卸载之后,再调用 RecoveryTypeCache - - - - - 快速动态调用对象的方法 - - - - - - - - - 反射快速调用 - - - - - - - - - 快速动态设置对象的属性值 - - - - - - - - 快速动态获取对象的属性值 - - - - - - - - 元素关系 - - - - - 根据构建的关系条件查询元素 - - - - - - - 当前元素 - - - - - 被选元素的直接父元素 - - - - - 被选元素的所有祖先元素,它一路向上直到文档的根元素 - - - - - - - 所有直接子元素 - - - - - - - 被选元素的后代元素,一路向下直到最后一个后代 - - - - - - - 绝对关系 - - - - - - 枚举父级 - - - - - 路由事件 - - - - - 获取或设置一个值,该值指示针对路由事件(在其经过路由时)的事件处理的当前状态。 - - - - - 在父类进行任何可能的 Source 调整之前,获取由纯命中测试确定的原始报告源。 - - - - - 重设事件触发源 - - - - - - 绘制椭圆形。 - - - - - 在两个点之间绘制直线。 - - - - - 绘制一系列相互连接的直线和曲线。 - - - - - 路径数据,支持WPF里的字符串格式数据 - - - - - 支持WPF里的字符串格式数据 - - - - - - 多边形 - - - - - 折线 - - - - - 折线 - - - - - 矩形 - - - - - 为 Ellipse、Polygon 和 Rectangle 之类的形状元素提供基类。 - - - - - 图形内部填充 - - - - - 边框线条填充 - - - - - 获取或设置线条类型 - - - - - 调用InvalidateGeometry的时候是否释放Geometry - - - - - 定义的图形 - - - - - 事件响应范围是路径的线条上还是路径围成的范围内,true就是在线条上 - - - - - 支持单位百分比的Size - - - - - 100%,100% - - - - - 纯色填充 - - - - - 填充颜色 - - - - - 颜色格式字符串 - - - - - - 子代 - - - - - 后代 - - - - - 邻接兄弟 - - - - - 兄弟 - - - - - 命名空间 - - - - - 内嵌资源管理,让资源可以在CSS里引用。所有加载过的图片都会被弱引用缓存 - - - - - 注册资源程序集,资源必须是内嵌的才能读取,程序集名称不能重复。一般情况下会自动注册,不需要手动调用 - - - - - - 移除程序集 - - - - - 获取或设置加载图片失败后的错误图片 - - - - - 清除缓存数据 - - - - - 清除指定路径的缓存资源 - - - - - - 读取文件或者内嵌或者网络的图片,弱引用缓存 - - - - - - - 读取文件或者内嵌或者网络的文本,弱引用缓存。 - - - - - - - 读取文件或者内嵌或者网络的文本,弱引用缓存。 - - - - - - - 读取文件或者内嵌或者网络的图片,弱引用缓存 - - - - - - - 加载流数据,不缓存 - - - - - - - 样式声明 Width: 150; - - - - - 行号 - - - - - , - - - - - 判断元素是否符合选择器标准 - - - - - - - 组合器 - - - - - 复杂选择器 - - - - - 选择器 - - - - - 判断元素是否符合选择器标准 - - - - - - - 直接子元素 - - - - - - 子代以及所有后代 - - - - - - 选择器关系 - - - - - 上一个选择器 - - - - - 是否包含类名 - - - - - - - 元素的Name - - - - - - - 不包括派生类 - - - - - - - 不包括派生类 - - - - - - - 不包括派生类 - - - - - - - 满足其中一个 - - - - - - - 满足其中一个 - - - - - - - 值等于 - - - - - - - - - 值等于 - - - - - - - - 包含属性 - - - - - - - 是否包含类名 - - - - - - 元素Name属性 - - - - - - 类型,不包含派生类 - - - - - - 属性值等于 - - - - - 属性值等于 - - - - - - - 有属性 - - - - - 满足其中一个 - - - - The maximum allowed codepoint (defined in Unicode). - - - - 来源的URL - - - - - 行号 - - - - - 选择器 - - - - - 设置的属性名和值 - - - - - 满足条件之后播放的动画 - - - - - 动画持续时间 - - - - - 动画播放次数,0为无限循环 - - - - - 动画结束之后的行为 - - - - - Value值是否有效 - - - - - 是否高优先级 - - - - - 添加设置的属性值 - - - - - - - - 添加设置的属性值 - - - 字符串自动根据元素的属性类型转换,不同元素的话属性类型必须一致 - - - - - 更新索引,提高检索速度 - - - - - 触发器 - - - - - 触发器 - - - - - 触发器,如果属性的类型是bool,而且条件是属性值为true,PropertyConditions可以不设置 - - - - - - - - 满足条件之后播放的动画 - - - - - 条件属性 - - - - - 属性条件,参数是属性值,返回条件结果 - - - - - 设置的属性名和值 - - - - - 相对位置元素,用来设置值或者动画 - - - - - 动画持续时间 - - - - - 动画播放次数,0为无限循环 - - - - - 动画结束之后的行为 - - - - - Return the shortest form possible - - - - - exposed enumeration for the adding of separators into term lists - - - - - Group的时候才有内容 - - - - - 需要通过SVG对象的GetShape来获取具体的Shape - - - - - 支持显示SVG图形,暂时不支持里面的滤镜,动画,图片引用,文字等,只能显示简单的图形 - - - - - 支持显示SVG图形,暂时不支持里面的滤镜,动画,图片引用,文字等,只能显示简单的图形 - - - - - 可以是svg文件路径,或者直接是svg文档 - - - - - - svg文档 - - - - - SVG源,可以是路径、Url、或者svg文档字符串 - - - - - 通过ID获取Shape - - - - - - - 解析到的元素 - - - - - 图片缩放模式 - - - - - 描述如何对内容应用缩放,并限制对已命名像素类型的缩放。 - - - - - 图形的默认填充 - - - - - 纹理图片填充 - - - - - 纹理图片填充 - - - - - - 纹理图片路径,可以是URL或者文件路径或者res://内嵌资源路径 格式:url(img.gif) [no-repeat/repeat(clamp/tile)] [none/fill/uniform/UniformToFill] [x,y,w,h] 需要按顺序 - - - - - - 图片的裁剪区域 - - - - - 图片填充模式 - - - - - 平铺模式 - - - - - 表示四周的厚度,字符串格式 all、left,top,right,bottom - - - - - 表示四周的厚度 This constructur builds a Thickness with a specified value on every side. - - The specified uniform length. - - - - This constructor builds a Thickness with the specified number of pixels on each side. - 表示四周的厚度 - - The thickness for the left side. - The thickness for the top side. - The thickness for the right side. - The thickness for the bottom side. - - - - Initializes a new instance of the structure. - - The thickness on the left and right. - The thickness on the top and bottom. - - - - Top + Bottom - - - - - Right + Left - - - - - This function compares to the provided object for type and value equality. - - Object to compare - True if object is a Thickness and all sides of it are equal to this Thickness'. - - - - Compares this instance of Thickness with another instance. - - Thickness instance to compare. - trueif this Thickness instance has the same value - and unit type as thickness. - - - - This function returns a hash code. - - Hash code - - - - {Left},{Top},{Right},{Bottom} - - String conversion. - - - - Parses a string. - - The string. - The . - - - - Verifies if this Thickness contains only valid values - The set of validity checks is passed as parameters. - - allows negative values - allows Double.NaN - allows Double.PositiveInfinity - allows Double.NegativeInfinity - Whether or not the thickness complies to the range specified - - - - Compares two thicknesses for fuzzy equality. This function - helps compensate for the fact that float values can - acquire error when operated upon - - The thickness to compare to this - Whether or not the two points are equal - - - - Compares two thicknesses for fuzzy equality. This function - helps compensate for the fact that float values can - acquire error when operated upon - - The first thickness to compare - The second thickness to compare - Whether or not the two thicknesses are equal - - - - Overloaded operator to compare two Thicknesses for equality. - - first Thickness to compare - second Thickness to compare - True if all sides of the Thickness are equal, false otherwise - - - - Overloaded operator to compare two Thicknesses for inequality. - - first Thickness to compare - second Thickness to compare - False if all sides of the Thickness are equal, true otherwise - - - This property is the Length on the thickness' left side - - - This property is the Length on the thickness' top side - - - This property is the Length on the thickness' right side - - - This property is the Length on the thickness' bottom side - - - - 表示四周的厚度 This constructur builds a Thickness with a specified value on every side. - - The specified uniform length. - - - - This constructor builds a Thickness with the specified number of pixels on each side. - 表示四周的厚度 - - The thickness for the left side. - The thickness for the top side. - The thickness for the right side. - The thickness for the bottom side. - - - - 调用线程是否是主线程,否则为false - - - - - - 验证线程访问权限 - - - - - Operations at this priority are processed at normal priority. - - - - - 布局 - - - - - Operations at this priority are processed at the same - priority as rendering. - - - - - 主窗体存在的时候才有效 - - - - - 用于提高定时器精度,主线程有任意消息时候调用 - - - - - 一般变换矩阵,用来做动画 - - - - - X - float. Default value is 0.0. - - - - - Y - float. Default value is 0.0. - - - - - Angle - double. Default value is 0.0. - - - - - ScaleX - float. Default value is 1.0. - - - - - ScaleY - float. Default value is 1.0. - - - - - AngleX - float. Default value is 0.0. - - - - - AngleY - float. Default value is 0.0 . - - - - - 一般变换矩阵,用来做动画 - - - - - 一般变换矩阵,用来做动画 - - - - - - - - - - - - Create a rotation transformation in degrees. - - The angle of rotation in degrees. - - - - Angle - double. Default value is 0.0. - - - - - The DependencyProperty for the RotateTransform.Angle property. - - - - - Create a scale transformation. - - - - - Create a scale transformation. - - - - - ScaleX - float. Default value is 1.0. - - - - - ScaleY - float. Default value is 1.0. - - - - - AngleX - float. Default value is 0.0. - - - - - AngleY - float. Default value is 0.0 . - - - - - 字符串格式和CSS的差不多,但是没有单位,旋转没有xyz,其他变换没有z,比如:定义单个或者多个rotate(20) skew(15,3) translate(100,200) 或者单独一个 matrix(m11, m12, m21, m22, offsetX, offsetY) 默认值是Identity - - - - - 恒等变换 - - - - - 对Point执行变换 - - - - - - - 变换矩阵 - - - - - 返回一个逆变换,如果不可逆则返回null - - - - - 字符串格式和CSS的差不多,但是没有单位,旋转没有xyz,比如:定义单个或者多个rotate(20) skew(15,3) translate(100,200) - - - - - - 字符串格式和CSS的差不多,但是没有单位,旋转没有xyz,其他变换没有z,比如:定义单个或者多个rotate(20) skew(15,3) translate(100,200) - - - - - - - X - float. Default value is 0.0. - - - - - Y - float. Default value is 0.0. - - - - - 提供UI相关的特性,图像,鼠标事件,触摸事件,布局,拖拽事件 - - - - - 被标记了的元素 - - - - - 用作模板中的特殊元素的标记,强引用,不使用了的元素只Remove是不行的,需要设置PresenterFor=null或者调用Dispose - - - - - 查找标记了的特殊元素 - - - - - - 查找标记了的特殊元素,绑定的时候使用 - - - - - - - - 查找标记了的特殊元素 - - - - - - 通过Name查找标记了的特殊元素 - - - - - - - - 通过Name查找标记了的特殊元素。绑定的时候用 - - - - - - - 位图特效 - - - - - 获取或设置在用户界面 (UI) 中为此元素显示的工具提示对象 - - - - - 元素名称 - - - - - 键盘焦点 - - - - - 获取一个值,该值指示键盘焦点是否位于元素或其可视化树子元素内的任意位置 - - - - - 获取焦点的导航方式 - - - - - 是否可以获取焦点 - - - - - 与控件关联的用户自定义数据 - - - - - 是否有逻辑焦点 - - - - - tab键切换元素焦点时候的顺序 - - - - - 按tab键切换焦点显示的聚焦框填充 - - - - - 按tab键切换焦点显示的聚焦框 - - - - - 聚焦框到元素边缘距离 - - - - - 图形抗锯齿 - - - - - 该值指示此元素是否捕获了鼠标 - - - - - 是否可以通过鼠标点击到 - - - - - 获取或设置一个值,该值指示此元素能否用作拖放操作的目标。 - - - - - Z轴 - - - - - 默认值为 Auto。此值必须大于或等于 0。 - - - - - 默认值为 Auto。此值必须大于或等于 0。 - - - - - 非依赖属性 - - - - - 非依赖属性 - - - - - 是否为根元素 - - - - - 根元素 - - - - - 获取一个值,该值指示此元素布局中的子元素的计算大小和位置是否有效。 - - - - - 父级元素 - - - - - 是否启用 - - - - - UI元素可见性 - - - - - 光标,用Cursors.***来设置 - - - - - 布局之后相对于根元素的矩形剪辑区域 - - - - - 渲染变换 - - - - - 渲染原点 - - - - - 获取一个值,该值指示鼠标指针是否位于此元素(包括可视树上的子元素)上 - - - - - 获取一个值,该值指示鼠标拖拽指针是否位于此元素(包括可视树上的子元素)上 - - - - - 获取元素呈现的尺寸 - - - - - 元素偏移位置 - - - - - 获取一个值,该值指示布局度量值返回的当前大小是否有效。 - - - - - 获取或设置一个值,该值指示是否应向此元素的大小和位置布局应用布局舍入。 - - - - - 右键菜单 - - - - - 使图像无效化,下次更新的时候重绘 - - - - - 是否是该元素的祖先 - - - - - - - 内部使用,请勿调用 - - - - - - - - 内部使用,请勿调用 - - - - - - - 获取在布局流程的度量传递过程中此元素计算所得的大小,包含margin。其实就是能包含所有内容的最小尺寸 - - - - - - 在派生类中重写时,测量子元素或者内容在布局中所需的大小,availableSize不包含当前对象的Margin和Padding,并确定由 UIElement 派生的类的大小。 - - 一般不要使用该属性参与计算 - 此元素基于其对子元素大小的计算确定它在布局期间所需要的大小。 - - - - 测量期望尺寸 - - 一般不要使用该属性 - - - - 测量期望尺寸 - - 相当于父容器能提供的尺寸,如果值为PositiveInfinity,则父容器未定义尺寸依赖子元素的尺寸 - The desired size for the control. - - - - Arranges the control and its children. - - The control's new bounds. - - - - 获取在View上对应的剪辑区域 - - - - - - - 获取该元素相对Root的最终变换矩阵 - - - - - - 获取该元素相对Parent的变换矩阵 - - - - - - - The default implementation of the control's arrange pass. - - The control's new bounds. - - This method calls which is probably the method you - want to override in order to modify a control's arrangement. - - - - - Positions child elements as part of a layout pass. - - The size available to the control. - The actual size used. - - - - Invalidates the measurement of the control and queues a new layout pass.测量 - - - - - Invalidates the arrangement of the control and queues a new layout pass.布局 - - - - - Tests whether any of a 's properties incude nagative values, - a NaN or Infinity. - - The rect. - True if the rect is invalid; otherwise false. - - - - 坐标转换,将父级坐标通过逆向变换为自己内部坐标 - - - - - - - 坐标转换,将自己内部坐标转换成父级坐标 - - - - - - - 用自己的内部坐标测试内部元素,从最深的后代元素到根(自己) - - - - - - - 获取相对于父级的正矩形剪辑区域 - - - - - - 获取内部相对于父级的正矩形剪辑区域 - - - - - - 子级,一般自定义组件的时候使用 - - - - - 获取子元素 - - - - - - 当添加触发器时并且触发器有设置动画,如果满足条件是否播放动画 - - - - - 触发器集合 - - - - - 是否处在设计模式 - - - - - 是否是设计模式下的根元素 - - - - - 将指定工作区点的位置计算成屏幕坐标。像素坐标 - - - - - - - 将指定工作区点的位置计算成相对View的位置 - - - - - - - 将指定屏幕点的像素位置计算成工作区坐标。 - - - - - - - 应用到元素上的类名,多个类用,分割 - - - - - 查询所有内部元素,包含所有层 - - - - - - - Called when the control is added to a visual tree. - - - - - Called when the control is removed from a visual tree. - - - - - 添加可视化对象的时候 - - - - - 移除可视化对象的时候 - - - - - 捕获鼠标,只有鼠标在元素范围内按下,而且IsEnabled为TRUE的时候才能捕获。当对象已捕获鼠标后,它接收鼠标输入,不论鼠标指针是否在其边界区域。 通常只有在执行模拟拖动操作时才捕获鼠标。 若要释放鼠标捕获,请对具有捕获的对象调用 ReleaseMouseCapture 方法。 - - - - - - ReleaseMouseCapture 方法对于已通过使用 CaptureMouse 方法捕获鼠标的对象禁用鼠标捕获。 当对象已捕获鼠标后,它接收鼠标输入,不论鼠标指针是否在其边界区域。 对不具有鼠标捕获的对象调用 ReleaseMouseCapture 无效。 - - - - - 克隆依赖属性,绑定,子元素,触发器 - - - - - - 将依赖属性本地值,绑定,子元素,触发器,拷贝到另外个对象 - - - - - - 获取对象唯一地址 - - - - - - 用来省内存,8个bool字段只要1字节,省7个字节 - - - - - 被添加的UI元素 - - - - - 子元素集合 - - - - - 内部UIElementList - - - - - 获取根据TabIndex排序之后的List - - - - - 获取根据ZIndex排序之后的List - - - - - 相同的值,如果出现不相同,将为int.Min - - - - - 根据ZIndex属性排序 - - - - - 重新按照ZIndex排序 - - - - - 将控件插入到指定索引处 - - - - - - - 使用指定的比较器对所有元素进行排序 - - 比较元素时要使用的比较器 - - - - 使用指定的比较器对所有元素进行排序。 - - 比较元素时要使用的比较器 - - - - 使用指定的 System.Comparison 对整个 UIElementCollection 中的元素进行排序。 - - - - - - 使用指定的比较器对某个范围内的元素进行排序。 - - 要排序的范围的从零开始的起始索引。 - 要排序的范围的长度 - 比较元素时要使用的比较器 - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个集合中的第一个匹配元素 - - - - - - - 确定 集合 是否包含与指定谓词所定义的条件相匹配的元素 - - - - - - - 检索与指定谓词定义的条件匹配的所有元素 - - - - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个集合 中第一个匹配元素的从零开始的索引。 - - - - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个 集合 中的最后一个匹配元素。 - - - - - - - 搜索与指定谓词所定义的条件相匹配的元素,并返回整个 集合 中最后一个匹配元素的从零开始的索引。 - - - - - - - 释放并清空子元素 - - - - - 被移除的UI元素 - - - - - UI元素模板,可以是UIElement的实例或者Type用type的话可以完全克隆出新元素 - - - - - 创建模板元素 - - - - - - UI元素模板,可以是Type或者UIElement的实例,用type的话可以完全克隆出新元素。限定模板基类 - - 模板基类 - - - - 创建模板元素 - - - - - - 定义一个可视化元素的填充,默认支持 隐式转换的字符串格式,支持格式: #rrggbbaa、#rrggbb、r,g,b、r,g,b,a、或者直接设置图片,渐变格式 linear-gradient(startX startY,endX endY,color1 stop1,color2 stop2....) 颜色只能是#开头的格式,stop是0到1的数字,图片格式:url(img.gif) [no-repeat/repeat] [none/fill/uniform/UniformToFill] - - - - - 创建笔刷 - - - DPI - - - - - 颜色格式字符串 - - - - - - Parses a color to Fill - - - - - - Normally visible. - - - - - Occupies space in the layout, but is not visible (completely transparent). - 相当于透明,保留控件位置占用 - - - - - Not visible and does not occupy any space in layout, as if it doesn't exist. - 完全隐藏 - - - - - 保存当前在可视范围内的元素,由内部对象池保存,请勿外部保存引用 - - - - - 当前元素 - - - - - 子元素 - - - - - 表示一个可视化元素,提供呈现支持,包括命中测试,坐标变换 - - - - - 可视化对象位置偏移 - - - - - 可视化对象变换 - - - - - 可视对象的剪辑区域 - - - - - 获取或设置一个值,该值指示是否剪切此元素的内容(或来自此元素的子元素的内容)使其适合包含元素的大小。这是一个依赖项属性。 - - - - - 确定点是否在可视对象的内部,point需要包含偏移 - - - - - - - 获取内容边界,包含偏移,子类必须重写。不受变换影响 - - - - - - 使用 UIElement 绘制区域。 - - - - - 不要设置 - - - - - 弱引用事件 - - - - - 弱引用事件里使用的委托 - - - - - 弱引用事件,可以防止注册之后忘记取消绑定导致内存泄露问题,以及重复注册问题 - - - - - 弱引用事件,可以防止注册之后忘记取消绑定导致内存泄露问题,以及重复注册问题 - - - -