Formatting/Reflection/TypePropertyControl.format.ps1

Write-FormatView -Action {
    Write-FormatViewExpression -If { -not $script:DisplayingMember  } -ScriptBlock { [Environment]::NewLine }
    Write-FormatViewExpression -ScriptBlock { ' * '}
    Write-FormatViewExpression -Property PropertyType -ControlName TypeNameControl -Style 'Foreground.Cyan','Bold'
    Write-FormatViewExpression -Property Name -Style 'Formatting.Warning'
    Write-FormatViewExpression -ScriptBlock {
        ' {' +
        $(if ($_.CanRead) {'get;'}) +
        $(if ($_.CanWrite) {'set;'})+
        '}'
    }
} -TypeName TypePropertyControl -Name TypePropertyControl -AsControl