HandyControl
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to 全部.
Looks up a localized string similar to 上午.
Looks up a localized string similar to Please wait....
Looks up a localized string similar to 取消.
Looks up a localized string similar to 清空.
Looks up a localized string similar to 关闭.
Looks up a localized string similar to 关闭所有.
Looks up a localized string similar to 关闭其他.
Looks up a localized string similar to 确定.
Looks up a localized string similar to 错误的图片路径.
Looks up a localized string similar to 非法的图片尺寸.
Looks up a localized string similar to 查找.
Looks up a localized string similar to 格式错误.
Looks up a localized string similar to 间隔10分钟.
Looks up a localized string similar to 间隔1小时.
Looks up a localized string similar to 间隔1分钟.
Looks up a localized string similar to 间隔2小时.
Looks up a localized string similar to 间隔30分钟.
Looks up a localized string similar to 间隔30秒.
Looks up a localized string similar to 间隔5分钟.
Looks up a localized string similar to 不能为空.
Looks up a localized string similar to 跳转.
Looks up a localized string similar to 查找类似 {0} 的本地化字符串。.
Looks up a localized string similar to 杂项.
Looks up a localized string similar to 下一页.
Looks up a localized string similar to 否.
Looks up a localized string similar to 暂无数据.
Looks up a localized string similar to 不在范围内.
Looks up a localized string similar to 页面模式.
Looks up a localized string similar to 下午.
Looks up a localized string similar to PNG图片.
Looks up a localized string similar to 上一页.
Looks up a localized string similar to 滚动模式.
Looks up a localized string similar to 提示.
Looks up a localized string similar to 过大.
Looks up a localized string similar to 双页模式.
Looks up a localized string similar to 未知.
Looks up a localized string similar to 未知大小.
Looks up a localized string similar to 是.
Looks up a localized string similar to 放大.
Looks up a localized string similar to 缩小.
查找类似 全部 的本地化字符串。
查找类似 上午 的本地化字符串。
查找类似 取消 的本地化字符串。
查找类似 清空 的本地化字符串。
查找类似 关闭 的本地化字符串。
查找类似 关闭所有 的本地化字符串。
查找类似 关闭其他 的本地化字符串。
查找类似 确定 的本地化字符串。
查找类似 错误的图片路径 的本地化字符串。
查找类似 非法的图片尺寸 的本地化字符串。
查找类似 查找 的本地化字符串。
查找类似 格式错误 的本地化字符串。
查找类似 间隔10分钟 的本地化字符串。
查找类似 间隔1小时 的本地化字符串。
查找类似 间隔1分钟 的本地化字符串。
查找类似 间隔2小时 的本地化字符串。
查找类似 间隔30分钟 的本地化字符串。
查找类似 间隔30秒 的本地化字符串。
查找类似 间隔5分钟 的本地化字符串。
查找类似 不能为空 的本地化字符串。
查找类似 跳转 的本地化字符串。
查找类似 查找类似 {0} 的本地化字符串。 的本地化字符串。
查找类似 杂项 的本地化字符串。
查找类似 下一页 的本地化字符串。
查找类似 否 的本地化字符串。
查找类似 暂无数据 的本地化字符串。
查找类似 不在范围内 的本地化字符串。
查找类似 页面模式 的本地化字符串。
查找类似 下午 的本地化字符串。
查找类似 PNG图片 的本地化字符串。
查找类似 上一页 的本地化字符串。
查找类似 滚动模式 的本地化字符串。
查找类似 提示 的本地化字符串。
查找类似 过大 的本地化字符串。
查找类似 双页模式 的本地化字符串。
查找类似 未知 的本地化字符串。
查找类似 未知大小 的本地化字符串。
查找类似 是 的本地化字符串。
查找类似 放大 的本地化字符串。
查找类似 缩小 的本地化字符串。
查找类似 全部 的本地化字符串。
查找类似 上午 的本地化字符串。
查找类似 取消 的本地化字符串。
查找类似 清空 的本地化字符串。
查找类似 关闭 的本地化字符串。
查找类似 关闭所有 的本地化字符串。
查找类似 关闭其他 的本地化字符串。
查找类似 确定 的本地化字符串。
查找类似 错误的图片路径 的本地化字符串。
查找类似 非法的图片尺寸 的本地化字符串。
查找类似 查找 的本地化字符串。
查找类似 格式错误 的本地化字符串。
查找类似 间隔10分钟 的本地化字符串。
查找类似 间隔1小时 的本地化字符串。
查找类似 间隔1分钟 的本地化字符串。
查找类似 间隔2小时 的本地化字符串。
查找类似 间隔30分钟 的本地化字符串。
查找类似 间隔30秒 的本地化字符串。
查找类似 间隔5分钟 的本地化字符串。
查找类似 不能为空 的本地化字符串。
查找类似 跳转 的本地化字符串。
查找类似 查找类似 {0} 的本地化字符串。 的本地化字符串。
查找类似 杂项 的本地化字符串。
查找类似 下一页 的本地化字符串。
查找类似 否 的本地化字符串。
查找类似 暂无数据 的本地化字符串。
查找类似 不在范围内 的本地化字符串。
查找类似 页面模式 的本地化字符串。
查找类似 下午 的本地化字符串。
查找类似 PNG图片 的本地化字符串。
查找类似 上一页 的本地化字符串。
查找类似 滚动模式 的本地化字符串。
查找类似 提示 的本地化字符串。
查找类似 过大 的本地化字符串。
查找类似 双页模式 的本地化字符串。
查找类似 未知 的本地化字符串。
查找类似 未知大小 的本地化字符串。
查找类似 是 的本地化字符串。
查找类似 放大 的本地化字符串。
查找类似 缩小 的本地化字符串。
Placeholder
Necessary
Symbol
ContentHeight
MinContentHeight
MaxContentHeight
RegexPattern
PasswordLength
IsMonitoring
掩码字符
计数
关闭计时器
开始计时器
切换块
Replace the original property Text for binding text.
Don't use the property!
Because the has some unique behaviors
that is not needed at at ,
which will cause some unexpected issue.
Gets or sets the text that need to be highlighted.
It can be an array of text separated by spaces.
Gets or sets the of the background of the highlight text.
更新内容视图
更新内容视图位置
生成序号
A control to provide a visual indicator when an application is busy.
Busyness group name.
Busy state for BusyIndicator.
Idle state for BusyIndicator.
BusyDisplay group.
Visible state name for BusyIndicator.
Hidden state name for BusyIndicator.
Timer used to delay the initial display and avoid flickering.
Overrides the OnApplyTemplate method.
Gets or sets a value indicating whether the BusyContent is visible.
Identifies the IsBusy dependency property.
Gets or sets a value indicating whether the busy indicator should show.
IsBusyProperty property changed handler.
BusyIndicator that changed its IsBusy.
Event arguments.
IsBusyProperty property changed handler.
Event arguments.
Identifies the BusyContent dependency property.
Gets or sets a value indicating the busy content to display to the user.
Identifies the BusyTemplate dependency property.
Gets or sets a value indicating the template to use for displaying the busy content to the user.
Identifies the DisplayAfter dependency property.
Gets or sets a value indicating how long to delay before displaying the busy content.
Identifies the FocusAfterBusy dependency property.
Gets or sets a Control that should get the focus when the busy indicator disapears.
Identifies the OverlayStyle dependency property.
Gets or sets a value indicating the style to use for the overlay.
Identifies the ProgressBarStyle dependency property.
Gets or sets a value indicating the style to use for the progress bar.
Handler for the DisplayAfterTimer.
Event sender.
Event arguments.
Changes the control's visual state(s).
True if state transitions should be used.
Get/set the speed ratio of the animation.
Get/set whether the loading indicator is active.
When overridden in a derived class, is invoked whenever application code
or internal processes call System.Windows.FrameworkElement.ApplyTemplate().
Represents a control that enables a user to select a date by using a visual calendar display.
Occurs when a date is selected.
Occurs when the DisplayDate property is changed.
Occurs when the DisplayMode property is changed.
Occurs when the SelectionMode property is changed.
Static constructor
Initializes a new instance of the PersianCalendar class.
Gets or sets the dates that are not selectable.
Gets or sets the style for displaying a CalendarButton.
Identifies the CalendarButtonStyle dependency property.
Gets or sets the style for displaying a day.
Identifies the DayButtonStyle dependency property.
Gets or sets the style for a Month.
Identifies the MonthStyle dependency property.
Gets or sets the date to display.
Identifies the DisplayDate dependency property.
DisplayDateProperty property changed handler.
PersianCalendar that changed its DisplayDate.
DependencyPropertyChangedEventArgs.
Gets or sets the last date to be displayed.
Identifies the DisplayDateEnd dependency property.
DisplayDateEndProperty property changed handler.
PersianCalendar that changed its DisplayDateEnd.
DependencyPropertyChangedEventArgs.
Gets or sets the first date to be displayed.
Identifies the DisplayDateStart dependency property.
DisplayDateStartProperty property changed handler.
PersianCalendar that changed its DisplayDateStart.
DependencyPropertyChangedEventArgs.
Gets or sets a value indicating whether the calendar is displayed in months or years.
Identifies the DisplayMode dependency property.
DisplayModeProperty property changed handler.
PersianCalendar that changed its DisplayMode.
DependencyPropertyChangedEventArgs.
Gets or sets the day that is considered the beginning of the week.
Identifies the FirstDayOfWeek dependency property.
FirstDayOfWeekProperty property changed handler.
PersianCalendar that changed its FirstDayOfWeek.
DependencyPropertyChangedEventArgs.
Gets or sets a value indicating whether the current date is highlighted.
Identifies the IsTodayHighlighted dependency property.
IsTodayHighlightedProperty property changed handler.
PersianCalendar that changed its IsTodayHighlighted.
DependencyPropertyChangedEventArgs.
Gets or sets the currently selected date.
Identifies the SelectedDate dependency property.
SelectedDateProperty property changed handler.
PersianCalendar that changed its SelectedDate.
DependencyPropertyChangedEventArgs.
Gets the dates that are currently selected.
Gets or sets the selection mode for the calendar.
Identifies the SelectionMode dependency property.
This flag is used to determine whether DatePicker should change its
DisplayDate because of a SelectedDate change on its PersianCalendar
Invoked whenever application code or an internal process,
such as a rebuilding layout pass, calls the ApplyTemplate method.
Provides a text representation of the selected date.
A text representation of the selected date, or an empty string if SelectedDate is a null reference.
Creates the automation peer for this PersianCalendar Control.
Called when this element gets focus.
Represents a control that allows the user to select a date.
Occurs when the drop-down PersianCalendar is closed.
Occurs when the drop-down PersianCalendar is opened.
Occurs when text entered into the PersianDatePicker cannot be parsed or the Date is not valid to be selected.
Occurs when a date is selected.
Static constructor
Initializes a new instance of the PersianDatePicker class.
Gets the days that are not selectable.
Gets or sets the style that is used when rendering the calendar.
Identifies the CalendarStyle dependency property.
Gets or sets the date to display.
Identifies the DisplayDate dependency property.
Gets or sets the last date to be displayed.
Identifies the DisplayDateEnd dependency property.
DisplayDateEndProperty property changed handler.
PersianDatePicker that changed its DisplayDateEnd.
DependencyPropertyChangedEventArgs.
Gets or sets the first date to be displayed.
Identifies the DisplayDateStart dependency property.
DisplayDateStartProperty property changed handler.
PersianDatePicker that changed its DisplayDateStart.
DependencyPropertyChangedEventArgs.
Gets or sets the day that is considered the beginning of the week.
Identifies the FirstDayOfWeek dependency property.
Gets or sets a value that indicates whether the drop-down PersianCalendar is open or closed.
Identifies the IsDropDownOpen dependency property.
IsDropDownOpenProperty property changed handler.
PersianDatePicker that changed its IsDropDownOpen.
DependencyPropertyChangedEventArgs.
Called when the IsEnabled property changes.
Gets or sets a value that indicates whether the current date will be highlighted.
Identifies the IsTodayHighlighted dependency property.
Gets or sets the currently selected date.
Identifies the SelectedDate dependency property.
SelectedDateProperty property changed handler.
PersianDatePicker that changed its SelectedDate.
DependencyPropertyChangedEventArgs.
Gets or sets the format that is used to display the selected date.
Identifies the SelectedDateFormat dependency property.
SelectedDateFormatProperty property changed handler.
PersianDatePicker that changed its SelectedDateFormat.
DependencyPropertyChangedEventArgs.
Gets or sets the text that is displayed by the PersianDatePicker.
Identifies the Text dependency property.
TextProperty property changed handler.
PersianDatePicker that changed its Text.
DependencyPropertyChangedEventArgs.
Sets the local Text property without breaking bindings
Builds the visual tree for the PersianDatePicker control when a new template is applied.
Provides a text representation of the selected date.
A text representation of the selected date, or an empty string if SelectedDate is a null reference.
Creates the automation peer for this PersianDatePicker Control.
Raises the DateValidationError event.
A DatePickerDateValidationErrorEventArgs that contains the event data.
Called when this element gets focus.
Input text is parsed in the correct format and changed into a DateTime object.
If the text can not be parsed TextParseError Event is thrown.
时间日期选择器
Sets the local Text property without breaking bindings
值改变事件
值改变事件
Initialize Splash Window
Create Splash Window and return it.
SplashWindow
SplashWindow splash = new SplashWindow();
return splash;
Add Status Messages
Close Splash Window
Represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.
Initializes a new instance of the System.Collections.ObjectModel.ObservableCollection(Of T) class.
Initializes a new instance of the System.Collections.ObjectModel.ObservableCollection(Of T) class that contains elements copied from the specified collection.
collection: The collection from which the elements are copied.
The collection parameter cannot be null.
Adds the elements of the specified collection to the end of the ObservableCollection(Of T).
Removes the first occurence of each item in the specified collection from ObservableCollection(Of T). NOTE: with notificationMode = Remove, removed items starting index is not set because items are not guaranteed to be consecutive.
Clears the current collection and replaces it with the specified item.
Clears the current collection and replaces it with the specified collection.
IList implemented collection which supports undo/redo.
type of elements
type of IList implemented collection
Actions in ActionScope can undo in one time.
You can't undo actions in DisabledUndoScope.
You can't undo actions while UndoEnabled is false.
Thrown when maximumUndoTimes is 1 or less.
Method for ActionScope.
You can undo actions between BeginActions() and EndActions() in one time.
Method for ActionScope.
You can undo actions between BeginActions() and EndActions() in one time.
Inner IList implemented collection.
List which supports undo/redo.
type of elements
Thrown when maximumUndoTimes is 1 or less.
ObservableCollection which supports undo/redo.
type of elements
Thrown when maximumUndoTimes is 1 or less.
用来使窗口变得全屏的辅助类
采用设置窗口位置和尺寸,确保盖住整个屏幕的方式来实现全屏
目前已知需要满足的条件是:窗口盖住整个屏幕、窗口没有WS_THICKFRAME样式、窗口不能有标题栏且最大化
用于记录窗口全屏前位置的附加属性
用于记录窗口全屏前样式的附加属性
开始进入全屏模式
进入全屏模式后,窗口可通过 API 方式(也可以用 Win + Shift + Left/Right)移动,调整大小,但会根据目标矩形寻找显示器重新调整到全屏状态。
进入全屏后,不要修改样式等窗口属性,在退出时,会恢复到进入前的状态
进入全屏模式后会禁用 DWM 过渡动画
退出全屏模式
窗口会回到进入全屏模式时保存的状态
退出全屏模式后会重新启用 DWM 过渡动画
确保窗口全屏的Hook
使用HandleProcessCorruptedStateExceptions,防止访问内存过程中因为一些致命异常导致程序崩溃
Elements to be displayed when selected
Whether to hide the element
Rule ItemsControl
Each item in this category has the same size and margin
Lightweight version of ItemsControl
带上下文菜单的按钮
带上下文菜单的切换按钮
封面流
最大显示数量的一半
页码
是否循环
存储所有的内容
当前在显示范围内的项
相机
3d画布
项容器
显示范围内第一个项的编号
显示范围内最后一个项的编号
页码
是否循环
批量添加资源
添加一项资源
添加一项资源
删除指定位置的项
更新项的位置
更新显示范围
创建网格形状
创建内容形状
移动
命中测试
缩放比间隔
图片保存对话框
右下角小图片是否加载过
图片是否可以在x轴方向移动
图片是否可以在y轴方向移动
图片实际位置
图片实际旋转角度
图片实际旋缩放比
在图片上鼠标移动时的即时位置
鼠标是否在图片上按下
在图片上按下时图片的位置
在图片上按下时鼠标的位置
在小图片上鼠标移动时的即时位置
鼠标是否在小图片上按下
在小图片上按下时图片的位置
在小图片上按下时鼠标的位置
图片长宽比
图片是否倾斜
缩放高度间隔
缩放宽度间隔
底部BorderBottom(包含一些图片操作)是否显示中
带一个图片Uri的构造函数
带一个图片路径的构造函数
是否显示全屏按钮
图片原始宽度
图片原始高度
关闭按钮是否显示中
底部BorderBottom(包含一些图片操作)是否显示中
初始化
右下角小图片显示切换
初始化右下角小图片
更新右下角小图片
缩放图片
旋转图片
移动图片
移动小图片
数据搜索委托
是否自动完成输入
是否自动完成输入
搜索文本
搜索文本
更新搜索的项目
时间日期选择器
Sets the local Text property without breaking bindings
数值选择控件
值改变事件
值改变事件
当前值
当前值
最大值
最大值
最小值
最小值
指示每单击一下按钮时增加或减少的数量
指示每单击一下按钮时增加或减少的数量
指示要显示的小数位数
指示要显示的小数位数
指示要显示的数字的格式
指示要显示的数字的格式,这将会覆盖 属性
是否显示上下调值按钮
是否显示上下调值按钮
标识 IsReadOnly 依赖属性。
获取或设置一个值,该值指示NumericUpDown是否只读。
掩码字符
是否实时搜索
是否实时搜索
时间选择器
Sets the local Text property without breaking bindings
标记
轮播控件
是否自动跳转
跳转时间间隔
页码
计时器开关
更新页按钮
更新项的位置
Color picker
The type of color currently displayed
Whether the control has been loaded
Do you need to update the ball position
Whether you are dragging the ball
Need to update information
Color selection panel width
Color selection panel height
Preset colors (a total of 18, two rows)
Color range collection
Color separated collection
Color change event
Color change event
Cancel event
Cancel event
Currently selected color
The type of color currently displayed
initialization
Create color buttons
Internal update
Update color while dragging
消息提醒
计数
关闭计时器
消息容器
开始计时器
消息容器
显示信息
成功
成功
成功
成功
消息
消息
消息
消息
警告
警告
警告
警告
错误
错误
错误
错误
严重
严重
严重
严重
询问
询问
询问
询问
关闭
清除
清除
清除
页码
页面更新事件
页面更新事件
最大页数
最大页数
每页的数据量
每页的数据量
当前页
当前页
表示当前选中的按钮距离左右两个方向按钮的最大间隔(4表示间隔4个按钮,如果超过则用省略号表示)
表示当前选中的按钮距离左右两个方向按钮的最大间隔(4表示间隔4个按钮,如果超过则用省略号表示)
更新
是否响应鼠标滚轮操作
是否响应鼠标滚轮操作
是否支持惯性
是否支持惯性
控件是否可以穿透点击
控件是否可以穿透点击
当前垂直滚动偏移
当前垂直滚动偏移
当前水平滚动偏移
当前水平滚动偏移
用以代替Grid
当不需要Grid的行、列分隔等功能时建议用此轻量级类代替
波浪进度条
预览内容
预览内容
值改变事件
值改变事件
步骤改变事件
步骤改变事件
步骤条单元项
步骤编号
步骤编号
步骤状态
步骤状态
是否为内部操作
是否启用动画
是否启用动画
是否可以拖动
是否可以拖动
是否显示关闭按钮
是否显示关闭按钮
是否显示上下文菜单
是否显示上下文菜单
是否将标签填充
是否将标签填充
标签宽度
标签宽度
标签高度
标签高度
是否可以滚动
是否可以滚动
是否显示溢出按钮
是否显示溢出按钮
是否显示滚动按钮
是否显示滚动按钮
可见的标签数量
动画速度
选项卡是否处于拖动状态
选项卡是否等待被拖动
拖动中的选项卡坐标
鼠标按下时选项卡位置
鼠标按下时选项卡横向偏移
鼠标按下时的坐标
右侧可移动的最大值
左侧可移动的最大值
选项卡宽度
选项卡拖动等待距离(在鼠标移动了超过20个像素无关单位后,选项卡才开始被拖动)
选项卡是否处于拖动状态
选项卡是否已经被拖动
目标横向位移
当前编号
标签容器横向滚动距离
标签容器
当前编号
是否显示关闭按钮
是否显示关闭按钮
是否显示上下文菜单
是否显示上下文菜单
更新选项卡横向偏移
创建动画
计算选项卡当前合适的位置编号
是否可以更新
选项卡字典
流式行为持续时间
流式行为持续时间
是否将标签填充
是否将标签填充
标签宽度
标签宽度
标签高度
标签高度
是否可以强制更新
是否已经加载
更新
获取显示时间
更新
作为刻度使用的文字块
时间
时间
时间格式
横向移动
时间条
是否显示刻度字符串
是否显示刻度字符串
刻度字符串
刻度字符串
选中时间
选中时间
时间改变事件
刻度集合
初始化时时间
时间段集合
顶部border是否被按下
控件是否处于拖动中
刻度单项宽度
鼠标按下拖动时选中的时间
显示的刻度数目
刻度区间编号
刻度单次偏移
刻度总偏移
刻度区间编号
时间改变事件
设置刻度时间格式
更新刻度
时间转换
鼠标滚轮滚动时改变刻度区间
更新
更新鼠标跟随块位置
图片浏览器
带一个图片Uri的构造函数
带一个图片路径的构造函数
消息框
成功
消息
警告
错误
严重
询问
自定义信息展示
信息展示
信息展示
弹出窗口
左上
左
左下
上左
上
上右
右上
右
右下
下左
下
下右
No Icon.
A Information Icon.
A Warning Icon.
A Error Icon.
颜色范围
颜色差值
更新
获取指定比例处的颜色
范围(0-1)
最多只能显示一项,且不可折叠
显示所有项,且不可折叠
类似ShowOne,但是控件的尺寸不随项的数量而改变
没有任何限制
IP类型枚举
A类IP地址
B类IP地址
C类IP地址
D类IP地址
E类IP地址
表示一个操作的返回结果类型
成功
失败
无数据
步骤状态
完成
进行中
等待中
文本类型枚举
标题对齐方式
表示一个操作的返回结果信息
操作结果
返回数据
操作消息(包含错误原因等数据)
装箱后的值类型(用于提高效率)
Represents a specialized resource dictionary that contains color resources used
by XAML elements.
Initializes a new instance of the ColorPaletteResources class.
Enables you to detect whether your app is in design mode in a visual designer.
Gets a value that indicates whether the process is running in design mode.
**True** if the process is running in design mode; otherwise **false**.
Gets a collection of merged resource dictionaries that are specifically keyed
and composed to address theme scenarios, for example supplying theme values for
"HighContrast".
A dictionary of ResourceDictionary theme dictionaries. Each must be keyed with
**x:Key**.
Default styles for controls.
Initializes a new instance of the Theme class.
Returns theme used for Windows
Identifies the ApplicationTheme dependency property.
Gets or sets a value that determines the light-dark preference for the overall
theme of an app.
A value of the enumeration. The initial value is the default theme set by the
user in Windows settings.
Gets the UI theme that is used by the UIElement (and its child elements)
for resource determination. The UI theme you specify with RequestedTheme can
override the app-level RequestedTheme.
The element from which to read the property value.
A value of the enumeration, for example **Light**.
Sets the UI theme that is used by the UIElement (and its child elements)
for resource determination. The UI theme you specify with RequestedTheme can
override the app-level RequestedTheme.
The element on which to set the attached property.
The property value to set.
Identifies the RequestedTheme dependency property.
Gets the UI theme that is currently used by the element, which might be different
than the RequestedTheme.
The element from which to read the property value.
A value of the enumeration, for example **Light**.
Identifies the ActualTheme dependency property.
Declares the theme preference for an app.
Use the **Light** default theme.
Use the **Dark** default theme.
Specifies a UI theme that should be used for individual UIElement parts of an app UI.
Use the Application.RequestedTheme value for the element. This is the default.
Use the **Light** default theme.
Use the **Dark** default theme.
Gets or sets a value that determines the light-dark preference for the overall
theme of an app.
A value of the enumeration. The initial value is the default theme set by the
user in Windows settings.
Gets or sets the accent color of the app.
Represents a method that handles general events.
The event source.
The event data. If there is no event data, this parameter will be null.
Base class for cultural change
Converter to get the value of a binding expression in localization
Listener for a culture change when binding is localized
Interface for implementing a localized string provider
Returns a localized object by key
Listener for cultural change when localized by key
A markup extension that returns a localized string by key or binding
Localized string key
Key binding of a localized string
Formatted localized string arguments
Formatted localized string argument bindings
The main class for working with localization
Implementing a localized string provider through application resources
Provides multiple conversions from to various translation providers.
Returns whether this converter can convert the object to the specified type, using the specified context.
An that provides a format context.
A that represents the type you want to convert to.
true, if this converter can perform the conversion, otherwise false.
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
An that provides a format context.
A that represents the type you want to convert from.
true, if this converter can perform the conversion, otherwise false.
Converts the given object to the type of this converter, using the specified context and culture information.
An that provides a format context.
The to use as the current culture.
The to convert.
An that represents the converted value.
Get Shamsi Year From Miladi Year
Enter The Jalali DateTime
Get Short Shamsi Year From Miladi Year In String
Enter The Jalali DateTime
Get Shamsi Year From Miladi Year In String
Enter The Jalali DateTime
Get Shamsi Month From Miladi Month
Enter The Jalali DateTime
Get Shamsi Month Number From Miladi Month In String
Enter The Jalali DateTime
Get Shamsi Month From Miladi Month Number
Enter The Jalali DateTime
Get Shamsi Month Name From Miladi Month
Enter The Jalali DateTime
Get Shamsi Day From Miladi Month
Enter The Jalali DateTime
Get Shamsi Day From Miladi Month In String
Enter The Jalali DateTime
Get Shamsi Day Name From Miladi Month
Enter The Jalali DateTime
Get Shamsi Day ShortName From Miladi Month
Enter The Jalali DateTime
شنبه بیست آذر سال یکهزار سیصد و نود وهفت ساعت هفت و سی دقیقه و بیست ثانیه
شنبه بیست آذر سال یکهزار سیصد و نود وهفت ساعت هفت و سی دقیقه
شنبه بیست آذر سال یکهزار سیصد و نود وهفت
ساعت پانزده و سی دقیقه و ده ثانیه
ساعت پانزده و سی دقیقه
Thrown when setting value is less than 0 or (Divisor or more).
Thrown when divisor is 1 or less.
Thrown when item1.Divisor and item2.Divisor are different.
Thrown when size is 1 or less.
Remove all elements at the index and after the index.
Specialized RingBuffer for undo/redo.
Type of elements
Index of current element.
Current element.
Thrown when size is 1 or less.
To use the method, the first delegate is t, and T is the parameter, otherwise it is the return type.Pause checkpoint: manual.WaitOne() == true is no pause
Clones the observable collection.
The type.
The collection.
The new collection.
Adds a value if it doesn't exist yet.
The type.
The collection.
The value.
Updates a value.
The type.
The collection.
The value.
The new value.
Deletes a value if it exists.
The type.
The collection.
The value.
Checks whether all values are null or not.
The type.
The collection.
true if all values are null.
Checks whether the collection and the values are null.
The type.
The collection.
The value.
Checks whether a value is null.
The type.
The value.
Checks whether the collection is null.
The type.
The collection.
This Extension Help you to Easily implement search, sort, and group operations
This Extension Method Help you to Add Items into ObservableCollection from Another Thread
Generate MD5 Hash
Generate SHA256 Hash
Encrypt string with AES
Decrypt string with AES
Encrypt string with Base64
Decrypt string with Base64
Encrypt string with RSA
Decrypt string with RSA
Get Shamsi Date From Miladi Year
Enter The Jalali DateTime
Get Short Shamsi Date From Miladi Year
Enter The Jalali DateTime
Get Long Shamsi Date From Miladi Year
Enter The Jalali DateTime
An extension for the class.
Clones the dictionary.
The key type.
The value type.
The dictionary.
A new .
Adds a value if it doesn't exist yet.
The key type.
The value type.
The dictionary.
The key.
The value.
Updates a value.
The key type.
The value type.
The dictionary.
The key.
The value.
Updates a key value pair.
The key type.
The value type.
The dictionary.
The key value pair.
Deletes the key if it exists.
The key type.
The value type.
The dictionary.
The key.
Deletes a value if it exists.
The key type.
The value type.
The dictionary.
The value.
Checks whether all values are null or not.
The key type.
The value type.
The dictionary.
true if all values are null.
Checks whether all keys are null or not.
The key type.
The value type.
The dictionary.
true if all keys are null.
Gets the key for a value.
The key type.
The value type.
The dictionary.
The value.
The found key.
Adds keys to the list.
The key value type.
The value value type.
The keys.
The key value pair.
The value.
Checks whether the count is greater than zero.
The value value type.
The count.
The value.
Checks whether the dictionary is null.
The key value type.
The value value type.
The dictionary.
Checks whether the value pair is null.
The key type.
The value type.
The key value pair.
Checks whether the value pair is null.
The key type.
The value type.
The key.
The value.
This Extension Help you to access item index in foreach loop
This Extension Help you to Easily implement search, sort, and group operations
Transform the input
String to be transformed
The culture
Can tranform a string
Transform the input
String to be transformed
Transforms a string using the provided transformers. Transformations are applied in the provided order.
Transforms a string using the provided transformers. Transformations are applied in the provided order.
Changes string to title case
"INvalid caSEs arE corrected" -> "Invalid Cases Are Corrected"
Changes the string to lower case
"Sentence casing" -> "sentence casing"
Changes the string to upper case
"lower case statement" -> "LOWER CASE STATEMENT"
Changes the string to sentence case
"lower case statement" -> "Lower case statement"
Truncate a string to a fixed length
Truncate a string to a fixed number of letters or digits
Truncate a string to a fixed number of words
Can truncate a string.
Truncate a string
The string to truncate
The length to truncate to
The string used to truncate with
The enum value used to determine from where to truncate the string
The truncated string
Truncation location for humanizer
Truncate letters from the left (start) of the string
Truncate letters from the right (end) of the string
Gets a ITruncator
Fixed length truncator
Fixed number of characters truncator
Fixed number of words truncator
An extension for the class.
Clones the list.
The type.
The list.
The new list.
Adds a value if it doesn't exist yet.
The type.
The list.
The value.
Updates a value.
The type.
The list.
The value.
The new value.
Deletes a value if it exists.
The type.
The list.
The value.
Checks whether all values are null or not.
The type.
The list.
true if all values are null.
Checks whether the list and the values are null.
The type.
The list.
The value.
Checks whether a value is null.
The type.
The value.
Checks whether the list is null.
The type.
The list.
Enable quick and more natural string.Format calls
Transforms a string using the provided transformers. Transformations are applied in the provided order.
Truncate the string
The string to be truncated
The length to truncate to
The truncated string
Truncate the string
The string to be truncated
The length to truncate to
The truncate to use
The enum value used to determine from where to truncate the string
The truncated string
Truncate the string
The string to be truncated
The length to truncate to
The string used to truncate with
The enum value used to determine from where to truncate the string
The truncated string
Truncate the string
The string to be truncated
The length to truncate to
The string used to truncate with
The truncator to use
The enum value used to determine from where to truncate the string
The truncated string
Converts this from one encoding to another.
The input .
The input encoding.
The output encoding.
A new with its data converted to .
Creates a Color from a XAML color string.
Defines a collection of extensions methods for UI.
Find descendant control using its name.
Parent element.
Name of the control to find
Descendant control or null if not found.
Find first descendant control of a specified type.
Type to search for.
Parent element.
Descendant control or null if not found.
Find first descendant control of a specified type.
Parent element.
Type of descendant.
Descendant control or null if not found.
Find all descendant controls of the specified type.
Type to search for.
Parent element.
Descendant controls or empty if not found.
Find visual ascendant control using its name.
Parent element.
Name of the control to find
Descendant control or null if not found.
Find first visual ascendant control of a specified type.
Type to search for.
Child element.
Ascendant control or null if not found.
Find first visual ascendant control of a specified type.
Child element.
Type of ascendant to look for.
Ascendant control or null if not found.
Find all visual ascendants for the element.
Child element.
A collection of parent elements or null if none found.
Color extension class
Convert color to decimal representation (rgb order is reversed)
Convert color to decimal representation (rgb order is reversed)
Get the total length of the path
Get the total length of the path
Display element
Display element
Unrealistic elements, but reserve space
No elements are displayed, and no space is reserved
Check that only one instance of the program runs
Bring MainWindow To Front
Check if Running Application runs with admin access or not
Get AbsoluteUri like pack://application:,,,/WpfApp;component/Style.xaml
Project Name
xaml file path
pack://application:,,,/{AssemblyName};component/{path}
Faster application execution at startup by caching
Cache Path
Close the application and start a new instance immediately
Assembly Based Method to Get the path of the executable file, this method work in .Net Framework and .Net Core in Portable and Publish Mode
Native Method to Get the path of the executable file, this method work in .Net Framework and .Net Core in Portable and Publish Mode
Send Message to Another Application
Listen to Receive Message from Another Process
Register Context Menu in Directory
Use this method when you want to add a ContextMenu when you right-click on folders
Icon Should be in *.ico format
UnRegister Context Menu from Directory
Use this method when you want to remove a ContextMenu when you right-click on folders
Register Cascade Context Menu in Directory
Use this method when you want to add a Cascade Menu in ContextMenu when you right-click on folders
This Method need Administrator Access
Icon Should be in *.ico format
Icon Should be in *.ico format
UnRegister Cascade Context Menu from Directory
Use this method when you want to remove a Cascade Menu from ContextMenu when you right-click on folders
This Method need Administrator Access
Register Context Menu in File
Use this method when you want to add a ContextMenu when you right-click on files
Icon Should be in *.ico format
UnRegister Context Menu from File
Use this method when you want to remove a ContextMenu when you right-click on files
Register Cascade Context Menu in File
Use this method when you want to add a Cascade Menu in ContextMenu when you right-click on files
This Method need Administrator Access
Icon Should be in *.ico format
Icon Should be in *.ico format
UnRegister Cascade Context Menu from File
Use this method when you want to remove a Cascade Menu from ContextMenu when you right-click on files
This Method need Administrator Access
Register Context Menu in Background
Use this method when you want to add a ContextMenu when you right-click on desktop or Explorer background
Icon Should be in *.ico format
UnRegister Context Menu from Background
Use this method when you want to remove a ContextMenu when you right-click on desktop or Explorer background
Register Cascade Context Menu in Background
Use this method when you want to add a Cascade Menu in ContextMenu when you right-click on desktop or Explorer background
This Method need Administrator Access
Icon Should be in *.ico format
Icon Should be in *.ico format
UnRegister Cascade Context Menu from Background
Use this method when you want to remove a Cascade Menu from ContextMenu when you right-click on desktop or Explorer background
This Method need Administrator Access
Register Context Menu in Drive
Use this method when you want to add a ContextMenu when you right-click on drives
This Method need Administrator Access
Icon Should be in *.ico format
UnRegister Context Menu from Drive
Use this method when you want to remove a ContextMenu when you right-click on drives
This Method need Administrator Access
Register Cascade Context Menu in Drive
Use this method when you want to add a Cascade Menu in ContextMenu when you right-click on drives
This Method need Administrator Access
Icon Should be in *.ico format
Icon Should be in *.ico format
UnRegister Cascade Context Menu from Drive
Use this method when you want to remove a Cascade Menu from ContextMenu when you right-click on drives
This Method need Administrator Access
Get Color from LinearGradientBrush, SolidColorBrush and Brush
Get Hex Code from Color
Get Hex Code from Brush
Creates a Color from a XAML color string.
Translate numeric file size in bytes to a human-readable shorter string format.
Generate SHA256 for String
Generate SHA256 for File
Encrypt string with AES
Decrypt string with AES
Encrypt string with Base64
Decrypt string with Base64
Encrypt string with RSA
Decrypt string with RSA
Decrypt a file async.
The full path and name of the file to be decrypted.
The full path and name of the file to be output.
The password for the decryption.
Decrypt a file.
The full path and name of the file to be decrypted.
The full path and name of the file to be output.
The password for the decryption.
Encrypt a file async.
The full path and name of the file to be encrypted.
The full path and name of the file to be output.
The password for the encryption.
Encrypt a file.
The full path and name of the file to be encrypted.
The full path and name of the file to be output.
The password for the encryption.
Encrypt a file Asymmetric
Decrypt a file Asymmetric
Encrypt a File async.
Encrypt a File.
Decrypt a File async.
Decrypt a File.
This method generates RSA public and private keys
KeySize is measured in bits. 1024 is the default, 2048 is better, 4096 is more robust but takes a fair bit longer to generate.
Export PublicKey To File
Read PublicKey from File
Export PrivateKey To File
Read PrivateKey from File
Read Data Value From the Ini File
must be unique
Optional
default is: application startup folder location
Write Data to the INI File
Optional
default is: application startup folder location
Delete Key from INI File
Optional
Delete Section from INI File
Check if Key Exist or Not in INI File
Optional
Contains static handlers for applying background Mica effects from Windows 11.
Checks if the current supports selected .
Background type to check.
if is supported.
Applies selected background effect to when is rendered.
Window to apply effect.
Background type.
Skip the compatibility check.
Applies selected background effect to hWnd by it's pointer.
Pointer to the window handle.
Background type.
Skip the compatibility check.
Tries to remove background effects if they have been applied to the .
The window from which the effect should be removed.
Tries to remove all effects if they have been applied to the hWnd.
Pointer to the window handle.
Tries to inform the operating system that this window uses dark mode.
Window to apply effect.
Tries to inform the operating system that this hWnd uses dark mode.
Pointer to the window handle.
Tries to clear the dark theme usage information.
Window to remove effect.
Tries to clear the dark theme usage information.
Pointer to the window handle.
Tries to remove default TitleBar from hWnd.
Pointer to the window handle.
is problem occurs.
Windows NT
Windows 7
Windows 7 Or Greater
Windows 8
Windows 8 Or Greater
Windows 8.1
Windows 8.1 Or Greater
Windows 10
Windows 10 Or Greater
Windows 10 Threshold1 Version 1507 Build 10240
Windows 10 Threshold1 Version 1507 Build 10240 Or Greater
Windows 10 Threshold2 Version 1511 Build 10586 (November Update)
Windows 10 Threshold2 Version 1511 Build 10586 Or Greater (November Update)
Windows 10 Redstone1 Version 1607 Build 14393 (Anniversary Update)
Windows 10 Redstone1 Version 1607 Build 14393 Or Greater (Anniversary Update)
Windows 10 Redstone2 Version 1703 Build 15063 (Creators Update)
Windows 10 Redstone2 Version 1703 Build 15063 Or Greater (Creators Update)
Windows 10 Redstone3 Version 1709 Build 16299 (Fall Creators Update)
Windows 10 Redstone3 Version 1709 Build 16299 Or Greater (Fall Creators Update)
Windows 10 Redstone4 Version 1803 Build 17134 (April 2018 Update)
Windows 10 Redstone4 Version 1803 Build 17134 Or Greater (April 2018 Update)
Windows 10 Redstone5 Version 1809 Build 17763 (October 2018 Update)
Windows 10 Redstone5 Version 1809 Build 17763 Or Greater (October 2018 Update)
Windows 10 19H1 Version 1903 Build 18362 (May 2019 Update)
Windows 10 19H1 Version 1903 Build 18362 Or Greater (May 2019 Update)
Windows 10 19H2 Version 1909 Build 18363 (November 2019 Update)
Windows 10 19H2 Version 1909 Build 18363 Or Greater (November 2019 Update)
Windows 10 20H1 Version 2004 Build 19041 (May 2020 Update)
Windows 10 20H1 Version 2004 Build 19041 Or Greater (May 2020 Update)
Windows 10 20H2 Version 2009 Build 19042 (October 2020 Update)
Windows 10 20H2 Version 2009 Build 19042 Or Greater (October 2020 Update)
Windows 10 21H1 Build 19043
Windows 10 21H1 Build 19043 Or Greater (May 2021 Update)
Windows 11 Build 22000
Windows 11 Build 22000 Or Greater
Add Or Update Key
null mean CurrentUser
Get Value from Key
Delete Key
Delete a Key and any childs recursively
Get the active window in the current application
Make the window active as the topmost window in the foreground
开始使用触摸拖动窗口,在触摸抬起后自动结束
Serializes the data in the object to the designated file path
Type of Object to serialize
Object to serialize
FilePath for the XML file
Deserializes the data in the XML file into an object
Type of object to deserialize
FilePath to XML file
Object containing deserialized data
包含一些常用的动画辅助方法
创建一个Thickness动画
创建一个Double动画
包含内部使用的一些简单算法
平分一个整数到一个数组中
计算控件在窗口中的可见坐标
获取布局范围框
计算两点的连线和x轴的夹角
计算法线
输入层点击帮助类
将 MouseDown MouseMove MouseUp 封装为点击事件
要被附加的元素
点击的事件
因为拖动而结束点击时触发
去掉对 的点击时间的监听
点击的事件
因为拖动而结束点击时触发的事件
Resource help class
Get Resource
get HandyControl theme
This class can provide single-open functions for visual elements
Create an instance based on the specified type
验证帮助类
是否在浮点数范围内
是否在正浮点数范围内
是否在正浮点数范围内(包括0)
是否在负浮点数范围内
是否在负浮点数范围内(包括0)
是否在正整数范围内
是否在正整数范围内(包括0)
是否在负整数范围内
是否在负整数范围内(包括0)
Width of left border that retains its size.
Width of right border that retains its size.
Height of top border that retains its size.
Height of bottom border that retains its size.
Gets the default (empty) value.
If the calling thread and the thread that owns the window are attached to different input queues, the system posts
the request to the thread that owns the window. This prevents the calling thread from blocking its execution while
other threads process the request.
Prevents generation of the WM_SYNCPAINT message.
Draws a frame (defined in the window's class description) around the window.
Applies new frame styles set using the SetWindowLong function. Sends a WM_NCCALCSIZE message to the window, even if
the window's size is not being changed. If this flag is not specified, WM_NCCALCSIZE is sent only when the window's
size is being changed.
Hides the window.
Does not activate the window. If this flag is not set, the window is activated and moved to the top of either the
topmost or non-topmost group (depending on the setting of the hWndInsertAfter parameter).
Discards the entire contents of the client area. If this flag is not specified, the valid contents of the client
area are saved and copied back into the client area after the window is sized or repositioned.
Retains the current position (ignores X and Y parameters).
Does not change the owner window's position in the Z order.
Does not redraw changes. If this flag is set, no repainting of any kind occurs. This applies to the client area,
the nonclient area (including the title bar and scroll bars), and any part of the parent window uncovered as a
result of the window being moved. When this flag is set, the application must explicitly invalidate or redraw any
parts of the window and parent window that need redrawing.
Same as the SWP_NOOWNERZORDER flag.
Prevents the window from receiving the WM_WINDOWPOSCHANGING message.
Retains the current size (ignores the cx and cy parameters).
Retains the current Z order (ignores the hWndInsertAfter parameter).
Displays the window.
The window is initially maximized.
The window has a maximize button. Cannot be combined with the WS_EX_CONTEXTHELP style. The WS_SYSMENU style must
also be specified.
The window is initially minimized. Same as the WS_ICONIC style.
The window has a sizing border. Same as the WS_SIZEBOX style.
ShowWindow options
Collection of backdrop types.
Automatically selects backdrop effect.
Turns off the backdrop effect.
Sets Mica effect with generated wallpaper tint.
Sets acrlic effect.
Sets blurred wallpaper effect, like Mica without tint.
DWMWINDOWATTRIBUTE enumeration. (dwmapi.h)
Enables content rendered in the non-client area to be visible on the frame drawn by DWM.
Retrieves the bounds of the caption button area in the window-relative space.
Forces the window to display an iconic thumbnail or peek representation (a static bitmap), even if a live or snapshot representation of the window is available.
Cloaks the window such that it is not visible to the user.
If the window is cloaked, provides one of the following values explaining why.
Freeze the window's thumbnail image with its current visuals. Do no further live updates on the thumbnail image to match the window's contents.
Allows a window to either use the accent color, or dark, according to the user Color Mode preferences.
Allows a window to either use the accent color, or dark, according to the user Color Mode preferences.
Controls the policy that rounds top-level window corners.
Windows 11 and above.
The color of the thin border around a top-level window.
The color of the caption.
Windows 11 and above.
The color of the caption text.
Windows 11 and above.
Width of the visible border around a thick frame window.
Windows 11 and above.
Allows to enter a value from 0 to 4 deciding on the imposed backdrop effect.
Indicates whether the window should use the Mica effect.
Windows 11 and above.
Contains some regular verification operations
Determine whether the string format meets certain requirements
The string to be judged
Regular expression
Determine whether the string meets the specified format
The string to be judged
Specified formatted text
Determine whether the string format is email
Email string to be judged
Method returns boolean
Determine whether the string format is a specified type of IP address
IP string to be judged
Specified IP type
Method returns boolean
Determine whether the string format is an IP address
IP string to be judged
Method returns boolean
Determine whether the string format is a single Chinese character
Single Chinese character string to be judged
Method returns boolean
Determine whether the string format is url
URL string to be judged
Method returns boolean
Determine whether the string format is persian
string to be judged
Method returns boolean
Determine whether the string format is Iraniana National Code
string to be judged
包含一些正则验证所需要的字符串
邮件正则匹配表达式
手机号正则匹配表达式
IP正则匹配
A类IP正则匹配
B类IP正则匹配
C类IP正则匹配
D类IP正则匹配
E类IP正则匹配
汉字正则匹配
Url正则匹配
数字正则匹配
计算性质数字正则匹配
正整数正则匹配
负整数正则匹配
整数正则匹配
非负整数正则匹配
非正整数正则匹配
正浮点数正则匹配
负浮点数正则匹配
浮点数正则匹配
非负浮点数正则匹配
非正浮点数正则匹配
شناسایی حروف فارسی
شناسایی کد ملی
根据属性名称使用反射来获取值
An action that will launch a process to open a file or Uri. For files, this action will launch the default program
for the given file extension. A Uri will open in a web browser.
The file or Uri to open.
This method is called when some criteria is met and the action is invoked.
鼠标拖动行为,该类是反编译微软的System.Windows.Interactivity程序集得到的,并对其做了些扩展
是否固定住Y轴
是否固定住X轴
控件库使用的所有命令(为了统一,不使用wpf自带的命令)
搜索
清除
切换
右转
左转
小
大
还原
打开
保存
选中
关闭
取消
确定
是
否
关闭所有
关闭其他
上一个
下一个
跳转
上午
下午
确认
小时改变
分钟改变
秒改变
鼠标移动
打开链接
关闭程序
前置主窗口
关闭窗口
开始截图
按照类别排序
按照名称排序
更多
AutomationPeer for PersianCalendar Control
Initializes a new instance of the CalendarAutomationPeer class.
Owning PersianCalendar
Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
A value from the System.Windows.Automation.Peers.PatternInterface enumeration.
The object that supports the specified pattern, or null if unsupported.
Gets the control type for the element that is associated with the UI Automation peer.
The control type.
Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
differentiates the control represented by this AutomationPeer.
The string that contains the name.
AutomationPeer for CalendarButton
Initializes a new instance of the CalendarButtonAutomationPeer class.
Owning CalendarButton
Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
A value from the System.Windows.Automation.Peers.PatternInterface enumeration.
The object that supports the specified pattern, or null if unsupported.
Gets the control type for the element that is associated with the UI Automation peer.
The control type.
Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
differentiates the control represented by this AutomationPeer.
The string that contains the name.
Overrides the GetLocalizedControlTypeCore method for CalendarButtonAutomationPeer
Overrides the GetHelpTextCore method for CalendarButtonAutomationPeer
Overrides the GetNameCore method for CalendarButtonAutomationPeer
AutomationPeer for CalendarDayButton
Initializes a new instance of the CalendarDayButtonAutomationPeer class.
Owning CalendarDayButton
Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
A value from the System.Windows.Automation.Peers.PatternInterface enumeration.
The object that supports the specified pattern, or null if unsupported.
Gets the control type for the element that is associated with the UI Automation peer.
The control type.
Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
differentiates the control represented by this AutomationPeer.
The string that contains the name.
Overrides the GetHelpTextCore method for CalendarDayButtonAutomationPeer
Overrides the GetLocalizedControlTypeCore method for CalendarDayButtonAutomationPeer
Overrides the GetNameCore method for CalendarDayButtonAutomationPeer
Grid item column.
Grid item column span.
Grid item's containing grid.
Grid item row.
Grid item row span.
True if the owning CalendarDayButton is selected.
Selection items selection container.
Adds selection item to selection.
Removes selection item from selection.
Selects this item.
Gets the table item's column headers.
The table item's column headers
Get's the table item's row headers.
The table item's row headers
AutomationPeer for PersianDatePicker Control
Initializes a new instance of the AutomationPeer for PersianDatePicker control.
PersianDatePicker
Gets the control pattern that is associated with the specified System.Windows.Automation.Peers.PatternInterface.
A value from the System.Windows.Automation.Peers.PatternInterface enumeration.
The object that supports the specified pattern, or null if unsupported.
Gets the control type for the element that is associated with the UI Automation peer.
The control type.
Called by GetClassName that gets a human readable name that, in addition to AutomationControlType,
differentiates the control represented by this AutomationPeer.
The string that contains the name.
Overrides the GetLocalizedControlTypeCore method for PersianDatePicker
Represents a collection of DateTimeRanges.
Initializes a new instance of the CalendarBlackoutDatesCollection class.
Dates that are in the past are added to the BlackoutDates.
Checks if a DateTime is in the Collection
Checks if a Range is in the collection
Returns true if any day in the given DateTime range is contained in the BlackOutDays.
CalendarDateRange that is searched in BlackOutDays
true if at least one day in the range is included in the BlackOutDays
This finds the next date that is not blacked out in a certian direction.
All the items in the collection are removed.
The item is inserted in the specified place in the collection.
The item in the specified index is removed from the collection.
The object in the specified index is replaced with the provided item.
Registers for change notification on date ranges
Un registers for change notification on date ranges
Reject date range changes that would make the blackout dates collection invalid
Update the calendar view to reflect the new blackout dates
Tests to see if a date range is not already selected
date range to test
True if no selected day falls in the given date range
Tests to see if a date range is not already selected
First day of date range to test
Last day of date range to test
True if no selected day falls between start and end
Gets the DateRange that contains the date.
Represents a button control used in PersianCalendar Control, which reacts to the Click event.
Static constructor
Represents the CalendarButton that is used in PersianCalendar Control.
Dependency property field for HasSelectedDays property
True if the CalendarButton represents a date range containing the display date
Dependency property field for IsInactive property
True if the CalendarButton represents
a month that falls outside the current year
or
a year that falls outside the current decade
Apply a template to the button.
Creates the automation peer for the DayButton.
Change to the correct visual state for the button.
true to use transitions when updating the visual state, false to
snap directly to the new visual state.
Common PropertyChangedCallback for dependency properties that trigger visual state changes
Represents a button control used in PersianCalendar Control, which reacts to the Click event.
Default content for the CalendarDayButton
Identifies the Today state.
Identifies the RegularDay state.
Name of the Day state group.
Identifies the BlackoutDay state.
Identifies the NormalDay state.
Name of the BlackoutDay state group.
Static constructor
Represents the CalendarDayButton that is used in PersianCalendar Control.
Dependency property field for IsToday property
True if the CalendarDayButton represents today
Dependency property field for IsSelected property
True if the CalendarDayButton is selected
Dependency property field for IsActive property
True if the CalendarDayButton represents a day that falls in the currently displayed month
Dependency property field for IsBlackedOut property
True if the CalendarDayButton represents a blackout date
Dependency property field for IsHighlighted property
True if the CalendarDayButton represents a highlighted date
Apply a template to the button.
Creates the automation peer for the CalendarDayButton.
Change to the correct visual state for the button.
true to use transitions when updating the visual state, false to
snap directly to the new visual state.
Represents the month that is used in PersianCalendar Control.
Gets a value indicating whether the calendar is displayed in months, years or decades.
Invoked whenever application code or an internal process,
such as a rebuilding layout pass, calls the ApplyTemplate method.
Gets a binding to a property on the owning calendar
DatePickerTextBox is a specialized form of TextBox which displays custom visuals when its contents are empty
Static constructor
Initializes a new instance of the class.
Watermark dependency property
Watermark content
The watermark.
Called when template is applied to the control.
Change to the correct visual state for the textbox.
true to use transitions when updating the visual state, false to
snap directly to the new visual state.
Called when the IsEnabled property changes.
Sender object
Property changed args
Called when watermark property is changed.
The sender.
The instance containing the event data.
Provides data for the DateSelected and DisplayDateChanged events.
Gets the date to be newly displayed.
Gets the date that was previously displayed.
Specifies a DateTime range class which has a start and end.
Initializes a new instance of the CalendarDateRange class.
Initializes a new instance of the CalendarDateRange class which creates a range from a single DateTime value.
Initializes a new instance of the CalendarDateRange class which accepts range start and end dates.
Specifies the End date of the CalendarDateRange.
Specifies the Start date of the CalendarDateRange.
Returns true if any day in the given DateTime range is contained in the current CalendarDateRange.
Coerced the end parameter to satisfy the start <= end constraint
If start <= end the end parameter otherwise the start parameter
Event arguments to notify clients that the range is changing and what the new range will be
Specifies values for the different modes of operation of a PersianCalendar.
The PersianCalendar displays a month at a time.
The PersianCalendar displays a year at a time.
The PersianCalendar displays a decade at a time.
Provides data for the DisplayModeChanged event.
Initializes a new instance of the CalendarModeChangedEventArgs class.
Previous value of the property, prior to the event being raised.
Current value of the property at the time of the event.
Gets the new mode of the PersianCalendar.
Gets the previous mode of the PersianCalendar.
Workaround for Dev10 Bug 527138 UIElement.RaiseEvent(e) throws InvalidCastException when
e is of type SelectionChangedEventArgs
e.RoutedEvent was registered with a handler not of type System.Windows.Controls.SelectionChangedEventHandler
Constructor
Routed Event
Items removed from selection
Items added to selection
Specifies values for the different selection modes of a PersianCalendar.
One date can be selected at a time.
One range of dates can be selected at a time.
Multiple dates or ranges can be selected at a time.
No dates can be selected.
Represents the collection of SelectedDates for the PersianCalendar Control.
Initializes a new instance of the CalendarSelectedDatesCollection class.
Adds a range of dates to the PersianCalendar SelectedDates.
Clears all the items of the SelectedDates.
Inserts the item in the specified position of the SelectedDates collection.
Removes the item at the specified position.
The object in the specified index is replaced with the provided item.
Adds a range of dates to the PersianCalendar SelectedDates.
Helper version of AddRange for mouse drag selection.
This version guarantees no exceptions will be thrown by removing blackout days from the range before adding to the collection
Names and helpers for visual states in the controls.
Unfocused state for PersianCalendar Buttons
Focused state for PersianCalendar Buttons
CalendarButtons Focus state group
Normal state
MouseOver state
Pressed state
Disabled state
Common state group
Unfocused state
Focused state
Focus state group
Selected state
Unselected state
Selection state group
Active state
Inactive state
Active state group
Valid state
InvalidFocused state
InvalidUnfocused state
Validation state group
Unwatermarked state
Watermarked state
Watermark state group
Use VisualStateManager to change the visual state of the control.
Control whose visual state is being changed.
true to use transitions when updating the visual state, false to
snap directly to the new visual state.
Ordered list of state names and fallback states to transition into.
Only the first state to be found will be used.
Provides data for the DateValidationError event.
Initializes a new instance of the DatePickerDateValidationErrorEventArgs class.
The exception that initially triggered the DateValidationError event.
The text being parsed.
Gets the exception that initially triggered the DateValidationError event.
Gets the text being parsed when the DateValidationError event was raised.
Gets or sets a value that indicates whether Exception should be thrown.
Specifies date formats for a PersianDatePicker.
Specifies that the date should be displayed using unabbreviated days of the week and month names.
Specifies that the date should be displayed using abbreviated days of the week and month names.