FlowLayoutSettings FlowLayoutSettings FlowLayoutSettings FlowLayoutSettings Class

定义

收集与流布局相关联的特性。Collects the characteristics associated with flow layouts.

public ref class FlowLayoutSettings : System::Windows::Forms::LayoutSettings
public class FlowLayoutSettings : System.Windows.Forms.LayoutSettings
type FlowLayoutSettings = class
    inherit LayoutSettings
Public Class FlowLayoutSettings
Inherits LayoutSettings
继承
FlowLayoutSettingsFlowLayoutSettingsFlowLayoutSettingsFlowLayoutSettings

注解

FlowLayoutSettings类收集和管理与流布局方案相关联的特性。The FlowLayoutSettings class collects and manages the characteristics associated with the flow layout scheme. 此类在内部使用FlowLayoutPanelToolStrip类,以及流布局引擎。This class is used internally by the FlowLayoutPanel and ToolStrip classes, as well as the flow layout engine. FlowLayoutSettings类由布局引擎用来确定如何布局容器的子控件。The FlowLayoutSettings class is used by the layout engine to determine how to layout the container's child controls.

FlowLayoutSettings类管理以下信息:The FlowLayoutSettings class manages the following information:

  • 连续控件的流向。The flow direction of consecutive controls.

  • 是否应换行还是剪切的子控件如果内容不能包含其父项中。Whether the contents should be wrapped or clipped if the child controls cannot be contained within their parent.

FlowLayoutSettings 不具有公共构造函数。FlowLayoutSettings does not have a public constructor.

属性

FlowDirection FlowDirection FlowDirection FlowDirection

获取或设置一个值,该值指示连续控件的流向。Gets or sets a value indicating the flow direction of consecutive controls.

LayoutEngine LayoutEngine LayoutEngine LayoutEngine

获取当前的流布局引擎。Gets the current flow layout engine.

WrapContents WrapContents WrapContents WrapContents

获取或设置一个值,该值指示当内容超过其容器的原始边界时应该对其进行包装还是应该对其进行剪辑。Gets or sets a value indicating whether the contents should be wrapped or clipped when they exceed the original boundaries of their container.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetFlowBreak(Object) GetFlowBreak(Object) GetFlowBreak(Object) GetFlowBreak(Object)

返回一个值,该值表示控件的流中断设置。Returns a value that represents the flow break setting of the control.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
SetFlowBreak(Object, Boolean) SetFlowBreak(Object, Boolean) SetFlowBreak(Object, Boolean) SetFlowBreak(Object, Boolean)

设置表示控件的流中断设置的值。Sets the value that represents the flow break setting of the control.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于

另请参阅