[]
获取单元格类型中不可用的样式属性,如对齐方式等。
public interface IDisablePropertySettings
根据页面类型获取单元格类型不可用的样式属性。
ForguncyDisabledSettings GetDisabledPropertySettings(ForguncyPageKind pageType)
| 类型 | 名称 | 描述 |
|---|---|---|
| ForguncyPageKind | pageType | 页面类型。 |
| 类型 | 描述 |
|---|---|
| ForguncyDisabledSettings | 返回不可用的样式属性。 |
public class DateCellType : CellType, IDisablePropertySettings
{
public ForguncyDisabledSettings GetDisabledPropertySettings(ForguncyPageKind pageType)
{
return ForguncyDisabledSettings.TopAlignment | ForguncyDisabledSettings.MiddleAlignment | ForguncyDisabledSettings.BottomAlignment;
}
}