Dela via


RibbonGalleryCategoriesPanel.SetHorizontalOffset Method

Sets the amount that content is horizontal offset in the containing viewport in device-independent units (1/96th inch per unit).

Namespace:  Microsoft.Windows.Controls.Ribbon.Primitives
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Sub SetHorizontalOffset ( _
    offset As Double _
)
public void SetHorizontalOffset(
    double offset
)
public:
virtual void SetHorizontalOffset(
    double offset
) sealed
abstract SetHorizontalOffset : 
        offset:float -> unit 
override SetHorizontalOffset : 
        offset:float -> unit 
public final function SetHorizontalOffset(
    offset : double
)

Parameters

  • offset
    Type: System.Double
    The amount that content is horizontally offset in the containing viewport in device-independent units (1/96th inch per unit).

Implements

IScrollInfo.SetHorizontalOffset(Double)

.NET Framework Security

See Also

Reference

RibbonGalleryCategoriesPanel Class

Microsoft.Windows.Controls.Ribbon.Primitives Namespace