Version

OnRecordFixedLocationChanging Method

Occurs before a Record is expanded
Syntax
'Declaration
 
Protected Overridable Sub OnRecordFixedLocationChanging( _
   ByVal args As RecordFixedLocationChangingEventArgs _
) 
protected virtual void OnRecordFixedLocationChanging( 
   RecordFixedLocationChangingEventArgs args
)

Parameters

args
Remarks

Whether or not the user can change the fixed state of a record is determined by the FieldLayoutSettings' FieldLayoutSettings.AllowRecordFixing property. Programmatically a record's fix state can be set through the Records Record.FixedLocation property.

Note: The Record can also be fixed/unfixed by calling the ExecuteCommand(RoutedCommand,Object) method with either the DataPresenterCommands.FixRecordTop, DataPresenterCommands.FixRecordBottom or DataPresenterCommands.UnfixRecord command and passing in the record as the parameter.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also