略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: UI\Controls\Grid

2025-02-27

Control Grid (Arrangement)

(UI 0.9.9)

简介

A Grid is a control which is allows the arrangement of children into a grid

类摘要

class UI\Controls\Grid extends UI\Control {
/* 常量 */
const int Fill;
const int Start;
const int Center;
const int End;
const int Leading;
const int Top;
const int Trailing;
const int Bottom;
/* 属性 */
protected $controls;
/* 方法 */
public append(
    UI\Control $control,
    int $left,
    int $top,
    int $xspan,
    int $yspan,
    bool $hexpand,
    int $halign,
    bool $vexpand,
    int $valign
)
public isPadded(): bool
public setPadded(bool $padding)
/* 继承的方法 */
}

属性

controls

Contains controls, should not be manipulated directly

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/class.ui-controls-grid.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3