DreamMakerEditor文档 DreamMakerEditor文档
首页
首页
  • 介绍

    • 声明
  • 入门

    • 开发环境搭建

      • 编辑器环境
      • Visual Studio 2022
      • Visual Studio Code
  • 基础

    • 字体

      • 使用位图字体
  • 无网格数据库

    • 介绍
    • 可视化组件特性
      • 表单
      • 网格
      • 自定义对象
      • 单行文本
      • 数值编辑框
      • 单选按钮
      • 颜色拾取器
      • 图片
      • 组合框
      • 多行文本
      • 动画帧
      • 自定义代码对象
      • 路径选择框
      • 富文本
      • 数组
    • 接口
  • 导出

    • 导出MacOS
  • 杂类笔记

    • Dotnet

      • Dotnet 切换版本
      • ChatGpt API
      • IIS部署Dotnet网站
      • Window Server 安装Sql Server
      • Nginx反向代理
    • 常用软件

      • Github
    • Git

      • 常用命令
  • 文档
  • 无网格数据库
后天
2023-03-01
目录

可视化组件特性

# 表单

FormFieldAttribute

参数 类型 默认 注释
name string 无 名称
default_height int 256 缺省高度

# 网格

GridDataTableAttribute

参数 类型 默认 注释
name string 无 名称
default_height int 256 缺省高度

# 自定义对象

CustomObjectAttribute

参数 类型 默认 注释
name string 无 名称
default_height int 256 缺省高度

# 单行文本

LineEditAttribute

参数 类型 默认 注释
name string 无 名称
max_length int 0 输入最大长度
placeholder_Text string null 占位符文本

# 数值编辑框

NumberAttribute

参数 类型 默认 注释
name string 无 名称
min_value double 0 最小值
max_value double double.MaxValue 最大值
step double 1 滚动增加值

# 单选按钮

CheckButtonAttribute

参数 类型 默认 注释
name string 无 名称
on_text string 是 选中标题
off_text string 否 未选中标题

# 颜色拾取器

ColorPickerAttribute

参数 类型 默认 注释
name string 无 名称
width int 64 宽度
height int 64 高度

# 图片

ImageAttribute

参数 类型 默认 注释
name string 无 名称
width int 64 宽度
height int 64 高度
default_dir string res:// 缺省选择目录

# 组合框

OptionButtonAttribute

参数 类型 默认 注释
name string 无 名称
op_type OptionButtonType 无 组合框类型
activator_type Type 无 反射类型

# 多行文本

TextEditAttribute

参数 类型 默认 注释
name string 无 名称
height int 64 缺省高度

# 动画帧

AnimateFrameAttribute

参数 类型 默认 注释
name string 无 名称
default_animate_name string default 缺省动画
default_dir string res:// 缺省目录
witdh int 0 缺省高度
height int 0 缺省高度
offsetx int 0 动画偏移X
offsety int 0 动画偏移Y

# 自定义代码对象

CustomCodeObjectAttribute

参数 类型 默认 注释
name string 无 名称
base_class_name string 无 反射类型基类名称

# 路径选择框

PathSelectAttribute

参数 类型 默认 注释
name string 无 名称
title string 无 标题
default_directory string 缺省目录
filters string[] 无 过滤文件组

# 富文本

RichTextAttribute

参数 类型 默认 注释
name string 无 名称
height int 64 缺省高度

# 数组

ArrayAttribute

参数 类型 默认 注释
name string 无 名称
height int 64 缺省高度
field_type FieldType 无 字段类型
param object[] 无 对应可视化组件类型的参数,如字段类型为数值,参数则为数值组件参数(最小值,最大值,滚动值)
介绍
接口

← 介绍 接口→

Theme by Vdoing | Copyright © 2023-2023 广州灵禅网络科技有限公司
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式