Imports System Imports System.ComponentModel Imports DevExpress.Xpo Imports DevExpress.Data.Filtering Imports DevExpress.ExpressApp Imports DevExpress.Persistent.Base Imports DevExpress.Persistent.BaseImpl Imports DevExpress.Persistent.Validation Imports DevExpress.ExpressApp.SystemModule Imports DevExpress.Persistent.Base.Security Imports DevExpress.ExpressApp.ConditionalAppearance Imports DevExpress.ExpressApp.Filtering _ _ _ Public Class CertificateofContractRows Inherits BaseObject Private _CertificateofContractHeader As CertificateofContractHeader Private _ContractRows As ContractRows Public Sub New(ByVal session As Session) MyBase.New(session) End Sub _ Property CertificateofContractHeader() As CertificateofContractHeader Get Return _CertificateofContractHeader End Get Set(ByVal value As CertificateofContractHeader) SetPropertyValue("CertificateofContractHeader", _CertificateofContractHeader, value) End Set End Property Property ContractRows As ContractRows Get Return _ContractRows End Get Set(ByVal value As ContractRows) SetPropertyValue("ContractRows", _ContractRows, value) End Set End Property ReadOnly Property DisplayName Get If Session.IsObjectsLoading = False And Session.IsObjectsSaving = False Then Return _CertificateofContractHeader.Contracts.CustomersFrom.FullName & ", " & _CertificateofContractHeader.DateExecution Else Return "" End If End Get End Property End Class