CheckOutIcon class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:29

Description

The CheckOutIcon element is rendered as an icon indicating the check-out or in-use status of an object, and allowing handling check-out/check-in operations via a pop-up menu.

http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4WebUIWinUIEmulationCheckOutIconClassTopic.html

Namespace

xmlns:l="http://www.teradp.com/schemas/GN4/1/Shell/Presentation"

Members

For the list of properties and methods, see:

http://tech.teradp.com/tech/html/gn4/docs/VSdoc/frlrfTeraDPGN4WebUIWinUIEmulationCheckOutIconClassTopic_members+.html

Example

The directory style definition of the ‘C’ column containing CheckOutIcon is:

<ColStyle Name="C" Width="12" Height="0">

<CellTemplate>

<xp:StackPanel VerticalAlignment="Top" Orientation="Vertical">

<l:CheckOutIcon

ObjectId="{Binding Path=[folderObject.id]}"

CheckOutInfo="{Binding Path=[folderObject:CheckOutInfo]}"

AllowForce="true"

UseAutoSelect="true"

AllowUnlock="true"/>

</xp:StackPanel>

</CellTemplate>

</ColStyle>

Where the properties are:

Name

Description

Default value

ObjectId

Database id of the object

None. It must be bound to the object database id

CheckOutInfo

Object check-out information

None.It must be bound to the object CheckOutInfo extra information

AllowForce

Display the Force get and Force check-out commands in the menu.  Possible values are True and False. If False the menu entries are not displayed.

True

UseAutoSelect

Try to automatically select the current client specification matching the host name or IP address of the client machine with the 'host' attribute of the client specification. Possible values are True or False.

True

AllowUnlock

Display the Unlock command in the menu for objects that are in use. Possible values are True and False. If False the menu entries are not displayed.

True

 

Other examples

<l:CheckOutIcon ObjectId="{Binding Path=[archiveObject.id]}" CheckOutInfo="{Binding Path=CheckOutInfo}" AllowForce="True" UseAutoSelect="True" />

<l:CheckOutIcon ObjectId="{Binding Path=[archiveObject.id]}" CheckOutInfo="{Binding Path=[archiveObject:CheckOutInfo]}" AllowForce="True" UseAutoSelect="True" />

<l:CheckOutIcon ObjectId="{Binding Path=[folderObject.id]}" CheckOutInfo="{Binding Path=CheckOutInfo}" AllowForce="True" UseAutoSelect="True" />

<l:CheckOutIcon ObjectId="{Binding Path=[folderObject.id]}" CheckOutInfo="{Binding Path=[folderObject:CheckOutInfo]}" AllowForce="True" UseAutoSelect="True" />

<l:CheckOutIcon ObjectId="{Binding Path=[linkObject.id]}" CheckOutInfo="{Binding Path=[linkObject:CheckOutInfo]}" AllowForce="True" UseAutoSelect="True" />

<l:CheckOutIcon ObjectId="{Binding Path=[linkObject.id]}" CheckOutInfo="{Binding Path=CheckOutInfo}" AllowForce="True" UseAutoSelect="True" />

See also

ClipboardIcon

ConfigIcon

MimeTypeIcon

ObjectTypeIcon

UnlockIcon