layouts/header/HeaderFieldEdit.xaml.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System.Windows;
using System.Windows.Controls;
namespace tablegen2.layouts
{
/// <summary>
/// HeaderFieldEdit.xaml 的交互逻辑
/// </summary>
public partial class HeaderFieldEdit : UserControl
{
#region 依赖属性
public static readonly DependencyProperty FieldNameProperty;
public static readonly DependencyProperty IsFieldNameReadonlyProperty;
public static readonly DependencyProperty FieldDescProperty;
public static readonly DependencyProperty FieldDefaultProperty;
static HeaderFieldEdit()
{
FieldNameProperty = DependencyProperty.Register(
"FieldName",
typeof(string),
typeof(HeaderFieldEdit),
new FrameworkPropertyMetadata(""),
null);
IsFieldNameReadonlyProperty = DependencyProperty.Register(
"IsFieldNameReadonly",
typeof(bool),
typeof(HeaderFieldEdit),
new FrameworkPropertyMetadata(false),
null);
FieldDescProperty = DependencyProperty.Register(
"FieldDesc",
typeof(string),
typeof(HeaderFieldEdit),
new FrameworkPropertyMetadata(""),
null);
FieldDefaultProperty = DependencyProperty.Register(
"FieldDefault",
typeof(string),
typeof(HeaderFieldEdit),
new FrameworkPropertyMetadata(""),
null);
}
public string FieldName
{
get { return (string)GetValue(FieldNameProperty); }
set { SetValue(FieldNameProperty, value); }
}
public bool IsFieldNameReadonly
{
get { return (bool)GetValue(IsFieldNameReadonlyProperty); }
set { SetValue(IsFieldNameReadonlyProperty, value); }
}
public string FieldDesc
{
get { return (string)GetValue(FieldDescProperty); }
set { SetValue(FieldDescProperty, value); }
}
public string FieldDefault
{
后面还有 36 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。