Terminal.Gui.View.html 256 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Class View
  8. </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class View
  11. ">
  12. <meta name="generator" content="docfx 2.59.4.0">
  13. <link rel="shortcut icon" href="../../favicon.ico">
  14. <link rel="stylesheet" href="../../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../../styles/docfx.css">
  16. <link rel="stylesheet" href="../../styles/main.css">
  17. <link href="https://fonts.googleapis.com/css?family=Source Sans Pro" rel="stylesheet">
  18. <link href="https://fonts.googleapis.com/css?family=Source Code Pro" rel="stylesheet">
  19. <meta property="docfx:navrel" content="../../toc.html">
  20. <meta property="docfx:tocrel" content="toc.html">
  21. <meta property="docfx:rel" content="../../">
  22. </head> <body data-spy="scroll" data-target="#affix" data-offset="120">
  23. <div id="wrapper">
  24. <header>
  25. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  26. <div class="container">
  27. <div class="navbar-header">
  28. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  29. <span class="sr-only">Toggle navigation</span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. <span class="icon-bar"></span>
  33. </button>
  34. <a class="navbar-brand" href="../../index.html">
  35. <img id="logo" class="svg" src="../../images/logo48.png" alt="">
  36. </a>
  37. </div>
  38. <div class="collapse navbar-collapse" id="navbar">
  39. <form class="navbar-form navbar-right" role="search" id="search">
  40. <div class="form-group">
  41. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  42. </div>
  43. </form>
  44. </div>
  45. </div>
  46. </nav>
  47. <div class="subnav navbar navbar-default">
  48. <div class="container hide-when-search" id="breadcrumb">
  49. <ul class="breadcrumb">
  50. <li></li>
  51. </ul>
  52. </div>
  53. </div>
  54. </header>
  55. <div class="container body-content">
  56. <div id="search-results">
  57. <div class="search-list">Search Results for <span></span></div>
  58. <div class="sr-items">
  59. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  60. </div>
  61. <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul>
  62. </div>
  63. </div>
  64. <div role="main" class="container body-content hide-when-search">
  65. <div class="sidenav hide-when-search">
  66. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  67. <div class="sidetoggle collapse" id="sidetoggle">
  68. <div id="sidetoc"></div>
  69. </div>
  70. </div>
  71. <div class="article row grid-right">
  72. <div class="col-md-10">
  73. <article class="content wrap" id="_content" data-uid="Terminal.Gui.View">
  74. <h1 id="Terminal_Gui_View" data-uid="Terminal.Gui.View" class="text-break">Class View
  75. </h1>
  76. <div class="markdown level0 summary">
  77. View is the base class for all views on the screen and represents a visible element that can render itself and contains zero or more nested views.
  78. </div>
  79. <div class="markdown level0 conceptual"></div>
  80. <div class="inheritance">
  81. <h5>Inheritance</h5>
  82. <div class="level0"><span class="xref">System.Object</span></div>
  83. <div class="level1"><a class="xref" href="Terminal.Gui.Responder.html">Responder</a></div>
  84. <div class="level2"><span class="xref">View</span></div>
  85. <div class="level3"><a class="xref" href="Terminal.Gui.Button.html">Button</a></div>
  86. <div class="level3"><a class="xref" href="Terminal.Gui.CheckBox.html">CheckBox</a></div>
  87. <div class="level3"><a class="xref" href="Terminal.Gui.ColorPicker.html">ColorPicker</a></div>
  88. <div class="level3"><a class="xref" href="Terminal.Gui.ComboBox.html">ComboBox</a></div>
  89. <div class="level3"><a class="xref" href="Terminal.Gui.FrameView.html">FrameView</a></div>
  90. <div class="level3"><a class="xref" href="Terminal.Gui.GraphView.html">GraphView</a></div>
  91. <div class="level3"><a class="xref" href="Terminal.Gui.HexView.html">HexView</a></div>
  92. <div class="level3"><a class="xref" href="Terminal.Gui.Label.html">Label</a></div>
  93. <div class="level3"><a class="xref" href="Terminal.Gui.LineView.html">LineView</a></div>
  94. <div class="level3"><a class="xref" href="Terminal.Gui.ListView.html">ListView</a></div>
  95. <div class="level3"><a class="xref" href="Terminal.Gui.MenuBar.html">MenuBar</a></div>
  96. <div class="level3"><a class="xref" href="Terminal.Gui.PanelView.html">PanelView</a></div>
  97. <div class="level3"><a class="xref" href="Terminal.Gui.ProgressBar.html">ProgressBar</a></div>
  98. <div class="level3"><a class="xref" href="Terminal.Gui.RadioGroup.html">RadioGroup</a></div>
  99. <div class="level3"><a class="xref" href="Terminal.Gui.ScrollBarView.html">ScrollBarView</a></div>
  100. <div class="level3"><a class="xref" href="Terminal.Gui.ScrollView.html">ScrollView</a></div>
  101. <div class="level3"><a class="xref" href="Terminal.Gui.StatusBar.html">StatusBar</a></div>
  102. <div class="level3"><a class="xref" href="Terminal.Gui.TableView.html">TableView</a></div>
  103. <div class="level3"><a class="xref" href="Terminal.Gui.TabView.html">TabView</a></div>
  104. <div class="level3"><a class="xref" href="Terminal.Gui.TextField.html">TextField</a></div>
  105. <div class="level3"><a class="xref" href="Terminal.Gui.TextValidateField.html">TextValidateField</a></div>
  106. <div class="level3"><a class="xref" href="Terminal.Gui.TextView.html">TextView</a></div>
  107. <div class="level3"><a class="xref" href="Terminal.Gui.Toplevel.html">Toplevel</a></div>
  108. <div class="level3"><a class="xref" href="Terminal.Gui.TreeView-1.html">TreeView&lt;T&gt;</a></div>
  109. </div>
  110. <div class="implements">
  111. <h5>Implements</h5>
  112. <div><span class="xref">System.IDisposable</span></div>
  113. <div><span class="xref">System.ComponentModel.ISupportInitializeNotification</span></div>
  114. <div><span class="xref">System.ComponentModel.ISupportInitialize</span></div>
  115. </div>
  116. <h5 id="Terminal_Gui_View_remarks"><strong>Remarks</strong></h5>
  117. <div class="markdown level0 remarks">
  118. <p>
  119. The View defines the base functionality for user interface elements in Terminal.Gui. Views
  120. can contain one or more subviews, can respond to user input and render themselves on the screen.
  121. </p>
  122. <p>
  123. Views supports two layout styles: Absolute or Computed. The choice as to which layout style is used by the View
  124. is determined when the View is initialized. To create a View using Absolute layout, call a constructor that takes a
  125. Rect parameter to specify the absolute position and size (the <code>View.<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a></code>)/. To create a View
  126. using Computed layout use a constructor that does not take a Rect parameter and set the X, Y, Width and Height
  127. properties on the view. Both approaches use coordinates that are relative to the container they are being added to.
  128. </p>
  129. <p>
  130. To switch between Absolute and Computed layout, use the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">LayoutStyle</a> property.
  131. </p>
  132. <p>
  133. Computed layout is more flexible and supports dynamic console apps where controls adjust layout
  134. as the terminal resizes or other Views change size or position. The X, Y, Width and Height
  135. properties are Dim and Pos objects that dynamically update the position of a view.
  136. The X and Y properties are of type <a class="xref" href="Terminal.Gui.Pos.html">Pos</a>
  137. and you can use either absolute positions, percentages or anchor
  138. points. The Width and Height properties are of type
  139. <a class="xref" href="Terminal.Gui.Dim.html">Dim</a> and can use absolute position,
  140. percentages and anchors. These are useful as they will take
  141. care of repositioning views when view&apos;s frames are resized or
  142. if the terminal size changes.
  143. </p>
  144. <p>
  145. Absolute layout requires specifying coordinates and sizes of Views explicitly, and the
  146. View will typically stay in a fixed position and size. To change the position and size use the
  147. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> property.
  148. </p>
  149. <p>
  150. Subviews (child views) can be added to a View by calling the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">Add(View)</a> method.
  151. The container of a View can be accessed with the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a> property.
  152. </p>
  153. <p>
  154. To flag a region of the View&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> to be redrawn call <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_">SetNeedsDisplay(Rect)</a>. To flag the entire view
  155. for redraw call <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a>.
  156. </p>
  157. <p>
  158. Views have a <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">ColorScheme</a> property that defines the default colors that subviews
  159. should use for rendering. This ensures that the views fit in the context where
  160. they are being used, and allows for themes to be plugged in. For example, the
  161. default colors for windows and toplevels uses a blue background, while it uses
  162. a white background for dialog boxes and a red background for errors.
  163. </p>
  164. <p>
  165. Subclasses should not rely on <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">ColorScheme</a> being
  166. set at construction time. If a <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">ColorScheme</a> is not set on a view, the view will inherit the
  167. value from its <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a> and the value might only be valid once a view has been
  168. added to a SuperView.
  169. </p>
  170. <p>
  171. By using <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">ColorScheme</a> applications will work both
  172. in color as well as black and white displays.
  173. </p>
  174. <p>
  175. Views that are focusable should implement the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_PositionCursor">PositionCursor()</a> to make sure that
  176. the cursor is placed in a location that makes sense. Unix terminals do not have
  177. a way of hiding the cursor, so it can be distracting to have the cursor left at
  178. the last focused view. So views should make sure that they place the cursor
  179. in a visually sensible place.
  180. </p>
  181. <p>
  182. The <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">LayoutSubviews()</a> method is invoked when the size or layout of a view has
  183. changed. The default processing system will keep the size and dimensions
  184. for views that use the <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a>, and will recompute the
  185. frames for the vies that use <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a>.
  186. </p>
  187. </div>
  188. <div class="inheritedMembers">
  189. <h5>Inherited Members</h5>
  190. <div>
  191. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_MouseEvent_Terminal_Gui_MouseEvent_">Responder.MouseEvent(MouseEvent)</a>
  192. </div>
  193. <div>
  194. <a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose">Responder.Dispose()</a>
  195. </div>
  196. <div>
  197. <span class="xref">System.Object.Equals(System.Object)</span>
  198. </div>
  199. <div>
  200. <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
  201. </div>
  202. <div>
  203. <span class="xref">System.Object.GetHashCode()</span>
  204. </div>
  205. <div>
  206. <span class="xref">System.Object.GetType()</span>
  207. </div>
  208. <div>
  209. <span class="xref">System.Object.MemberwiseClone()</span>
  210. </div>
  211. <div>
  212. <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
  213. </div>
  214. </div>
  215. <h6><strong>Namespace</strong>: <a class="xref" href="Terminal.Gui.html">Terminal.Gui</a></h6>
  216. <h6><strong>Assembly</strong>: Terminal.Gui.dll</h6>
  217. <h5 id="Terminal_Gui_View_syntax">Syntax</h5>
  218. <div class="codewrapper">
  219. <pre><code class="lang-csharp hljs">public class View : Responder, IDisposable, ISupportInitializeNotification, ISupportInitialize</code></pre>
  220. </div>
  221. <h3 id="constructors">Constructors
  222. </h3>
  223. <span class="small pull-right mobile-hide">
  224. <span class="divider">|</span>
  225. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View__ctor.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  226. </span>
  227. <span class="small pull-right mobile-hide">
  228. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L720">View Source</a>
  229. </span>
  230. <a id="Terminal_Gui_View__ctor_" data-uid="Terminal.Gui.View.#ctor*"></a>
  231. <h4 id="Terminal_Gui_View__ctor" data-uid="Terminal.Gui.View.#ctor">View()</h4>
  232. <div class="markdown level1 summary">
  233. Initializes a new instance of <a class="xref" href="Terminal.Gui.View.html">View</a> using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  234. </div>
  235. <div class="markdown level1 conceptual"></div>
  236. <h5 class="decalaration">Declaration</h5>
  237. <div class="codewrapper">
  238. <pre><code class="lang-csharp hljs">public View()</code></pre>
  239. </div>
  240. <span class="small pull-right mobile-hide">
  241. <span class="divider">|</span>
  242. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View__ctor_NStack_ustring_Terminal_Gui_TextDirection_Terminal_Gui_Border_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.%23ctor(NStack.ustring%2CTerminal.Gui.TextDirection%2CTerminal.Gui.Border)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  243. </span>
  244. <span class="small pull-right mobile-hide">
  245. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L777">View Source</a>
  246. </span>
  247. <a id="Terminal_Gui_View__ctor_" data-uid="Terminal.Gui.View.#ctor*"></a>
  248. <h4 id="Terminal_Gui_View__ctor_NStack_ustring_Terminal_Gui_TextDirection_Terminal_Gui_Border_" data-uid="Terminal.Gui.View.#ctor(NStack.ustring,Terminal.Gui.TextDirection,Terminal.Gui.Border)">View(ustring, TextDirection, Border)</h4>
  249. <div class="markdown level1 summary">
  250. Initializes a new instance of <a class="xref" href="Terminal.Gui.View.html">View</a> using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout.
  251. </div>
  252. <div class="markdown level1 conceptual"></div>
  253. <h5 class="decalaration">Declaration</h5>
  254. <div class="codewrapper">
  255. <pre><code class="lang-csharp hljs">public View(ustring text, TextDirection direction = TextDirection.LeftRight_TopBottom, Border border = null)</code></pre>
  256. </div>
  257. <h5 class="parameters">Parameters</h5>
  258. <table class="table table-bordered table-striped table-condensed">
  259. <thead>
  260. <tr>
  261. <th>Type</th>
  262. <th>Name</th>
  263. <th>Description</th>
  264. </tr>
  265. </thead>
  266. <tbody>
  267. <tr>
  268. <td><span class="xref">NStack.ustring</span></td>
  269. <td><span class="parametername">text</span></td>
  270. <td>text to initialize the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a> property with.</td>
  271. </tr>
  272. <tr>
  273. <td><a class="xref" href="Terminal.Gui.TextDirection.html">TextDirection</a></td>
  274. <td><span class="parametername">direction</span></td>
  275. <td>The text direction.</td>
  276. </tr>
  277. <tr>
  278. <td><a class="xref" href="Terminal.Gui.Border.html">Border</a></td>
  279. <td><span class="parametername">border</span></td>
  280. <td>The <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">Border</a>.</td>
  281. </tr>
  282. </tbody>
  283. </table>
  284. <span class="small pull-right mobile-hide">
  285. <span class="divider">|</span>
  286. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View__ctor_System_Int32_System_Int32_NStack_ustring_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.%23ctor(System.Int32%2CSystem.Int32%2CNStack.ustring)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  287. </span>
  288. <span class="small pull-right mobile-hide">
  289. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L738">View Source</a>
  290. </span>
  291. <a id="Terminal_Gui_View__ctor_" data-uid="Terminal.Gui.View.#ctor*"></a>
  292. <h4 id="Terminal_Gui_View__ctor_System_Int32_System_Int32_NStack_ustring_" data-uid="Terminal.Gui.View.#ctor(System.Int32,System.Int32,NStack.ustring)">View(Int32, Int32, ustring)</h4>
  293. <div class="markdown level1 summary">
  294. Initializes a new instance of <a class="xref" href="Terminal.Gui.View.html">View</a> using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout.
  295. </div>
  296. <div class="markdown level1 conceptual"></div>
  297. <h5 class="decalaration">Declaration</h5>
  298. <div class="codewrapper">
  299. <pre><code class="lang-csharp hljs">public View(int x, int y, ustring text)</code></pre>
  300. </div>
  301. <h5 class="parameters">Parameters</h5>
  302. <table class="table table-bordered table-striped table-condensed">
  303. <thead>
  304. <tr>
  305. <th>Type</th>
  306. <th>Name</th>
  307. <th>Description</th>
  308. </tr>
  309. </thead>
  310. <tbody>
  311. <tr>
  312. <td><span class="xref">System.Int32</span></td>
  313. <td><span class="parametername">x</span></td>
  314. <td>column to locate the Label.</td>
  315. </tr>
  316. <tr>
  317. <td><span class="xref">System.Int32</span></td>
  318. <td><span class="parametername">y</span></td>
  319. <td>row to locate the Label.</td>
  320. </tr>
  321. <tr>
  322. <td><span class="xref">NStack.ustring</span></td>
  323. <td><span class="parametername">text</span></td>
  324. <td>text to initialize the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a> property with.</td>
  325. </tr>
  326. </tbody>
  327. </table>
  328. <span class="small pull-right mobile-hide">
  329. <span class="divider">|</span>
  330. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View__ctor_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.%23ctor(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  331. </span>
  332. <span class="small pull-right mobile-hide">
  333. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L697">View Source</a>
  334. </span>
  335. <a id="Terminal_Gui_View__ctor_" data-uid="Terminal.Gui.View.#ctor*"></a>
  336. <h4 id="Terminal_Gui_View__ctor_Terminal_Gui_Rect_" data-uid="Terminal.Gui.View.#ctor(Terminal.Gui.Rect)">View(Rect)</h4>
  337. <div class="markdown level1 summary">
  338. Initializes a new instance of a <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> <a class="xref" href="Terminal.Gui.View.html">View</a> class with the absolute
  339. dimensions specified in the <code>frame</code> parameter.
  340. </div>
  341. <div class="markdown level1 conceptual"></div>
  342. <h5 class="decalaration">Declaration</h5>
  343. <div class="codewrapper">
  344. <pre><code class="lang-csharp hljs">public View(Rect frame)</code></pre>
  345. </div>
  346. <h5 class="parameters">Parameters</h5>
  347. <table class="table table-bordered table-striped table-condensed">
  348. <thead>
  349. <tr>
  350. <th>Type</th>
  351. <th>Name</th>
  352. <th>Description</th>
  353. </tr>
  354. </thead>
  355. <tbody>
  356. <tr>
  357. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  358. <td><span class="parametername">frame</span></td>
  359. <td>The region covered by this view.</td>
  360. </tr>
  361. </tbody>
  362. </table>
  363. <span class="small pull-right mobile-hide">
  364. <span class="divider">|</span>
  365. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View__ctor_Terminal_Gui_Rect_NStack_ustring_Terminal_Gui_Border_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.%23ctor(Terminal.Gui.Rect%2CNStack.ustring%2CTerminal.Gui.Border)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  366. </span>
  367. <span class="small pull-right mobile-hide">
  368. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L756">View Source</a>
  369. </span>
  370. <a id="Terminal_Gui_View__ctor_" data-uid="Terminal.Gui.View.#ctor*"></a>
  371. <h4 id="Terminal_Gui_View__ctor_Terminal_Gui_Rect_NStack_ustring_Terminal_Gui_Border_" data-uid="Terminal.Gui.View.#ctor(Terminal.Gui.Rect,NStack.ustring,Terminal.Gui.Border)">View(Rect, ustring, Border)</h4>
  372. <div class="markdown level1 summary">
  373. Initializes a new instance of <a class="xref" href="Terminal.Gui.View.html">View</a> using <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a> layout.
  374. </div>
  375. <div class="markdown level1 conceptual"></div>
  376. <h5 class="decalaration">Declaration</h5>
  377. <div class="codewrapper">
  378. <pre><code class="lang-csharp hljs">public View(Rect rect, ustring text, Border border = null)</code></pre>
  379. </div>
  380. <h5 class="parameters">Parameters</h5>
  381. <table class="table table-bordered table-striped table-condensed">
  382. <thead>
  383. <tr>
  384. <th>Type</th>
  385. <th>Name</th>
  386. <th>Description</th>
  387. </tr>
  388. </thead>
  389. <tbody>
  390. <tr>
  391. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  392. <td><span class="parametername">rect</span></td>
  393. <td>Location.</td>
  394. </tr>
  395. <tr>
  396. <td><span class="xref">NStack.ustring</span></td>
  397. <td><span class="parametername">text</span></td>
  398. <td>text to initialize the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a> property with.</td>
  399. </tr>
  400. <tr>
  401. <td><a class="xref" href="Terminal.Gui.Border.html">Border</a></td>
  402. <td><span class="parametername">border</span></td>
  403. <td>The <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Border">Border</a>.</td>
  404. </tr>
  405. </tbody>
  406. </table>
  407. <h3 id="properties">Properties
  408. </h3>
  409. <span class="small pull-right mobile-hide">
  410. <span class="divider">|</span>
  411. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_AutoSize.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.AutoSize%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  412. </span>
  413. <span class="small pull-right mobile-hide">
  414. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2434">View Source</a>
  415. </span>
  416. <a id="Terminal_Gui_View_AutoSize_" data-uid="Terminal.Gui.View.AutoSize*"></a>
  417. <h4 id="Terminal_Gui_View_AutoSize" data-uid="Terminal.Gui.View.AutoSize">AutoSize</h4>
  418. <div class="markdown level1 summary">
  419. Gets or sets a flag that determines whether the View will be automatically resized to fit the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a>.
  420. The default is `false`. Set to `true` to turn on AutoSize. If <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">AutoSize</a> is `true` the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">Width</a>
  421. and <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">Height</a> will always be used if the text size is lower. If the text size is higher the bounds will
  422. be resized to fit it.
  423. In addition, if <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ForceValidatePosDim">ForceValidatePosDim</a> is `true` the new values of <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">Width</a> and
  424. <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">Height</a> must be of the same types of the existing one to avoid breaking the <a class="xref" href="Terminal.Gui.Dim.html">Dim</a> settings.
  425. </div>
  426. <div class="markdown level1 conceptual"></div>
  427. <h5 class="decalaration">Declaration</h5>
  428. <div class="codewrapper">
  429. <pre><code class="lang-csharp hljs">public virtual bool AutoSize { get; set; }</code></pre>
  430. </div>
  431. <h5 class="propertyValue">Property Value</h5>
  432. <table class="table table-bordered table-striped table-condensed">
  433. <thead>
  434. <tr>
  435. <th>Type</th>
  436. <th>Description</th>
  437. </tr>
  438. </thead>
  439. <tbody>
  440. <tr>
  441. <td><span class="xref">System.Boolean</span></td>
  442. <td></td>
  443. </tr>
  444. </tbody>
  445. </table>
  446. <span class="small pull-right mobile-hide">
  447. <span class="divider">|</span>
  448. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Border.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Border%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  449. </span>
  450. <span class="small pull-right mobile-hide">
  451. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2580">View Source</a>
  452. </span>
  453. <a id="Terminal_Gui_View_Border_" data-uid="Terminal.Gui.View.Border*"></a>
  454. <h4 id="Terminal_Gui_View_Border" data-uid="Terminal.Gui.View.Border">Border</h4>
  455. <div class="markdown level1 summary"></div>
  456. <div class="markdown level1 conceptual"></div>
  457. <h5 class="decalaration">Declaration</h5>
  458. <div class="codewrapper">
  459. <pre><code class="lang-csharp hljs">public virtual Border Border { get; set; }</code></pre>
  460. </div>
  461. <h5 class="propertyValue">Property Value</h5>
  462. <table class="table table-bordered table-striped table-condensed">
  463. <thead>
  464. <tr>
  465. <th>Type</th>
  466. <th>Description</th>
  467. </tr>
  468. </thead>
  469. <tbody>
  470. <tr>
  471. <td><a class="xref" href="Terminal.Gui.Border.html">Border</a></td>
  472. <td></td>
  473. </tr>
  474. </tbody>
  475. </table>
  476. <span class="small pull-right mobile-hide">
  477. <span class="divider">|</span>
  478. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Bounds.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Bounds%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  479. </span>
  480. <span class="small pull-right mobile-hide">
  481. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L512">View Source</a>
  482. </span>
  483. <a id="Terminal_Gui_View_Bounds_" data-uid="Terminal.Gui.View.Bounds*"></a>
  484. <h4 id="Terminal_Gui_View_Bounds" data-uid="Terminal.Gui.View.Bounds">Bounds</h4>
  485. <div class="markdown level1 summary">
  486. The bounds represent the View-relative rectangle used for this view; the area inside of the view.
  487. </div>
  488. <div class="markdown level1 conceptual"></div>
  489. <h5 class="decalaration">Declaration</h5>
  490. <div class="codewrapper">
  491. <pre><code class="lang-csharp hljs">public Rect Bounds { get; set; }</code></pre>
  492. </div>
  493. <h5 class="propertyValue">Property Value</h5>
  494. <table class="table table-bordered table-striped table-condensed">
  495. <thead>
  496. <tr>
  497. <th>Type</th>
  498. <th>Description</th>
  499. </tr>
  500. </thead>
  501. <tbody>
  502. <tr>
  503. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  504. <td>The bounds.</td>
  505. </tr>
  506. </tbody>
  507. </table>
  508. <span class="small pull-right mobile-hide">
  509. <span class="divider">|</span>
  510. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_CanFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.CanFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  511. </span>
  512. <span class="small pull-right mobile-hide">
  513. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L353">View Source</a>
  514. </span>
  515. <a id="Terminal_Gui_View_CanFocus_" data-uid="Terminal.Gui.View.CanFocus*"></a>
  516. <h4 id="Terminal_Gui_View_CanFocus" data-uid="Terminal.Gui.View.CanFocus">CanFocus</h4>
  517. <div class="markdown level1 summary"></div>
  518. <div class="markdown level1 conceptual"></div>
  519. <h5 class="decalaration">Declaration</h5>
  520. <div class="codewrapper">
  521. <pre><code class="lang-csharp hljs">public override bool CanFocus { get; set; }</code></pre>
  522. </div>
  523. <h5 class="propertyValue">Property Value</h5>
  524. <table class="table table-bordered table-striped table-condensed">
  525. <thead>
  526. <tr>
  527. <th>Type</th>
  528. <th>Description</th>
  529. </tr>
  530. </thead>
  531. <tbody>
  532. <tr>
  533. <td><span class="xref">System.Boolean</span></td>
  534. <td></td>
  535. </tr>
  536. </tbody>
  537. </table>
  538. <h5 class="overrides">Overrides</h5>
  539. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_CanFocus">Responder.CanFocus</a></div>
  540. <span class="small pull-right mobile-hide">
  541. <span class="divider">|</span>
  542. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ColorScheme.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ColorScheme%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  543. </span>
  544. <span class="small pull-right mobile-hide">
  545. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1441">View Source</a>
  546. </span>
  547. <a id="Terminal_Gui_View_ColorScheme_" data-uid="Terminal.Gui.View.ColorScheme*"></a>
  548. <h4 id="Terminal_Gui_View_ColorScheme" data-uid="Terminal.Gui.View.ColorScheme">ColorScheme</h4>
  549. <div class="markdown level1 summary">
  550. The color scheme for this view, if it is not defined, it returns the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a>&apos;s
  551. color scheme.
  552. </div>
  553. <div class="markdown level1 conceptual"></div>
  554. <h5 class="decalaration">Declaration</h5>
  555. <div class="codewrapper">
  556. <pre><code class="lang-csharp hljs">public virtual ColorScheme ColorScheme { get; set; }</code></pre>
  557. </div>
  558. <h5 class="propertyValue">Property Value</h5>
  559. <table class="table table-bordered table-striped table-condensed">
  560. <thead>
  561. <tr>
  562. <th>Type</th>
  563. <th>Description</th>
  564. </tr>
  565. </thead>
  566. <tbody>
  567. <tr>
  568. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  569. <td></td>
  570. </tr>
  571. </tbody>
  572. </table>
  573. <span class="small pull-right mobile-hide">
  574. <span class="divider">|</span>
  575. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Data.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Data%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  576. </span>
  577. <span class="small pull-right mobile-hide">
  578. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L235">View Source</a>
  579. </span>
  580. <a id="Terminal_Gui_View_Data_" data-uid="Terminal.Gui.View.Data*"></a>
  581. <h4 id="Terminal_Gui_View_Data" data-uid="Terminal.Gui.View.Data">Data</h4>
  582. <div class="markdown level1 summary">
  583. Gets or sets arbitrary data for the view.
  584. </div>
  585. <div class="markdown level1 conceptual"></div>
  586. <h5 class="decalaration">Declaration</h5>
  587. <div class="codewrapper">
  588. <pre><code class="lang-csharp hljs">public object Data { get; set; }</code></pre>
  589. </div>
  590. <h5 class="propertyValue">Property Value</h5>
  591. <table class="table table-bordered table-striped table-condensed">
  592. <thead>
  593. <tr>
  594. <th>Type</th>
  595. <th>Description</th>
  596. </tr>
  597. </thead>
  598. <tbody>
  599. <tr>
  600. <td><span class="xref">System.Object</span></td>
  601. <td></td>
  602. </tr>
  603. </tbody>
  604. </table>
  605. <span class="small pull-right mobile-hide">
  606. <span class="divider">|</span>
  607. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Driver.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Driver%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  608. </span>
  609. <span class="small pull-right mobile-hide">
  610. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L251">View Source</a>
  611. </span>
  612. <a id="Terminal_Gui_View_Driver_" data-uid="Terminal.Gui.View.Driver*"></a>
  613. <h4 id="Terminal_Gui_View_Driver" data-uid="Terminal.Gui.View.Driver">Driver</h4>
  614. <div class="markdown level1 summary">
  615. Points to the current driver in use by the view, it is a convenience property
  616. for simplifying the development of new views.
  617. </div>
  618. <div class="markdown level1 conceptual"></div>
  619. <h5 class="decalaration">Declaration</h5>
  620. <div class="codewrapper">
  621. <pre><code class="lang-csharp hljs">public static ConsoleDriver Driver { get; }</code></pre>
  622. </div>
  623. <h5 class="propertyValue">Property Value</h5>
  624. <table class="table table-bordered table-striped table-condensed">
  625. <thead>
  626. <tr>
  627. <th>Type</th>
  628. <th>Description</th>
  629. </tr>
  630. </thead>
  631. <tbody>
  632. <tr>
  633. <td><a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a></td>
  634. <td></td>
  635. </tr>
  636. </tbody>
  637. </table>
  638. <span class="small pull-right mobile-hide">
  639. <span class="divider">|</span>
  640. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Enabled.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Enabled%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  641. </span>
  642. <span class="small pull-right mobile-hide">
  643. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2533">View Source</a>
  644. </span>
  645. <a id="Terminal_Gui_View_Enabled_" data-uid="Terminal.Gui.View.Enabled*"></a>
  646. <h4 id="Terminal_Gui_View_Enabled" data-uid="Terminal.Gui.View.Enabled">Enabled</h4>
  647. <div class="markdown level1 summary"></div>
  648. <div class="markdown level1 conceptual"></div>
  649. <h5 class="decalaration">Declaration</h5>
  650. <div class="codewrapper">
  651. <pre><code class="lang-csharp hljs">public override bool Enabled { get; set; }</code></pre>
  652. </div>
  653. <h5 class="propertyValue">Property Value</h5>
  654. <table class="table table-bordered table-striped table-condensed">
  655. <thead>
  656. <tr>
  657. <th>Type</th>
  658. <th>Description</th>
  659. </tr>
  660. </thead>
  661. <tbody>
  662. <tr>
  663. <td><span class="xref">System.Boolean</span></td>
  664. <td></td>
  665. </tr>
  666. </tbody>
  667. </table>
  668. <h5 class="overrides">Overrides</h5>
  669. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Enabled">Responder.Enabled</a></div>
  670. <span class="small pull-right mobile-hide">
  671. <span class="divider">|</span>
  672. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Focused.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Focused%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  673. </span>
  674. <span class="small pull-right mobile-hide">
  675. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1418">View Source</a>
  676. </span>
  677. <a id="Terminal_Gui_View_Focused_" data-uid="Terminal.Gui.View.Focused*"></a>
  678. <h4 id="Terminal_Gui_View_Focused" data-uid="Terminal.Gui.View.Focused">Focused</h4>
  679. <div class="markdown level1 summary">
  680. Returns the currently focused view inside this view, or null if nothing is focused.
  681. </div>
  682. <div class="markdown level1 conceptual"></div>
  683. <h5 class="decalaration">Declaration</h5>
  684. <div class="codewrapper">
  685. <pre><code class="lang-csharp hljs">public View Focused { get; }</code></pre>
  686. </div>
  687. <h5 class="propertyValue">Property Value</h5>
  688. <table class="table table-bordered table-striped table-condensed">
  689. <thead>
  690. <tr>
  691. <th>Type</th>
  692. <th>Description</th>
  693. </tr>
  694. </thead>
  695. <tbody>
  696. <tr>
  697. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  698. <td>The focused.</td>
  699. </tr>
  700. </tbody>
  701. </table>
  702. <span class="small pull-right mobile-hide">
  703. <span class="divider">|</span>
  704. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ForceValidatePosDim.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ForceValidatePosDim%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  705. </span>
  706. <span class="small pull-right mobile-hide">
  707. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L618">View Source</a>
  708. </span>
  709. <a id="Terminal_Gui_View_ForceValidatePosDim_" data-uid="Terminal.Gui.View.ForceValidatePosDim*"></a>
  710. <h4 id="Terminal_Gui_View_ForceValidatePosDim" data-uid="Terminal.Gui.View.ForceValidatePosDim">ForceValidatePosDim</h4>
  711. <div class="markdown level1 summary">
  712. Forces validation with <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> layout
  713. to avoid breaking the <a class="xref" href="Terminal.Gui.Pos.html">Pos</a> and <a class="xref" href="Terminal.Gui.Dim.html">Dim</a> settings.
  714. </div>
  715. <div class="markdown level1 conceptual"></div>
  716. <h5 class="decalaration">Declaration</h5>
  717. <div class="codewrapper">
  718. <pre><code class="lang-csharp hljs">public bool ForceValidatePosDim { get; set; }</code></pre>
  719. </div>
  720. <h5 class="propertyValue">Property Value</h5>
  721. <table class="table table-bordered table-striped table-condensed">
  722. <thead>
  723. <tr>
  724. <th>Type</th>
  725. <th>Description</th>
  726. </tr>
  727. </thead>
  728. <tbody>
  729. <tr>
  730. <td><span class="xref">System.Boolean</span></td>
  731. <td></td>
  732. </tr>
  733. </tbody>
  734. </table>
  735. <span class="small pull-right mobile-hide">
  736. <span class="divider">|</span>
  737. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Frame.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Frame%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  738. </span>
  739. <span class="small pull-right mobile-hide">
  740. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L456">View Source</a>
  741. </span>
  742. <a id="Terminal_Gui_View_Frame_" data-uid="Terminal.Gui.View.Frame*"></a>
  743. <h4 id="Terminal_Gui_View_Frame" data-uid="Terminal.Gui.View.Frame">Frame</h4>
  744. <div class="markdown level1 summary">
  745. Gets or sets the frame for the view. The frame is relative to the view&apos;s container (<a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a>).
  746. </div>
  747. <div class="markdown level1 conceptual"></div>
  748. <h5 class="decalaration">Declaration</h5>
  749. <div class="codewrapper">
  750. <pre><code class="lang-csharp hljs">public virtual Rect Frame { get; set; }</code></pre>
  751. </div>
  752. <h5 class="propertyValue">Property Value</h5>
  753. <table class="table table-bordered table-striped table-condensed">
  754. <thead>
  755. <tr>
  756. <th>Type</th>
  757. <th>Description</th>
  758. </tr>
  759. </thead>
  760. <tbody>
  761. <tr>
  762. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  763. <td>The frame.</td>
  764. </tr>
  765. </tbody>
  766. </table>
  767. <span class="small pull-right mobile-hide">
  768. <span class="divider">|</span>
  769. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_HasFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.HasFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  770. </span>
  771. <span class="small pull-right mobile-hide">
  772. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1317">View Source</a>
  773. </span>
  774. <a id="Terminal_Gui_View_HasFocus_" data-uid="Terminal.Gui.View.HasFocus*"></a>
  775. <h4 id="Terminal_Gui_View_HasFocus" data-uid="Terminal.Gui.View.HasFocus">HasFocus</h4>
  776. <div class="markdown level1 summary"></div>
  777. <div class="markdown level1 conceptual"></div>
  778. <h5 class="decalaration">Declaration</h5>
  779. <div class="codewrapper">
  780. <pre><code class="lang-csharp hljs">public override bool HasFocus { get; }</code></pre>
  781. </div>
  782. <h5 class="propertyValue">Property Value</h5>
  783. <table class="table table-bordered table-striped table-condensed">
  784. <thead>
  785. <tr>
  786. <th>Type</th>
  787. <th>Description</th>
  788. </tr>
  789. </thead>
  790. <tbody>
  791. <tr>
  792. <td><span class="xref">System.Boolean</span></td>
  793. <td></td>
  794. </tr>
  795. </tbody>
  796. </table>
  797. <h5 class="overrides">Overrides</h5>
  798. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_HasFocus">Responder.HasFocus</a></div>
  799. <span class="small pull-right mobile-hide">
  800. <span class="divider">|</span>
  801. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Height.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Height%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  802. </span>
  803. <span class="small pull-right mobile-hide">
  804. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L594">View Source</a>
  805. </span>
  806. <a id="Terminal_Gui_View_Height_" data-uid="Terminal.Gui.View.Height*"></a>
  807. <h4 id="Terminal_Gui_View_Height" data-uid="Terminal.Gui.View.Height">Height</h4>
  808. <div class="markdown level1 summary">
  809. Gets or sets the height of the view. Only used the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">LayoutStyle</a> is <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a>.
  810. </div>
  811. <div class="markdown level1 conceptual"></div>
  812. <h5 class="decalaration">Declaration</h5>
  813. <div class="codewrapper">
  814. <pre><code class="lang-csharp hljs">public Dim Height { get; set; }</code></pre>
  815. </div>
  816. <h5 class="propertyValue">Property Value</h5>
  817. <table class="table table-bordered table-striped table-condensed">
  818. <thead>
  819. <tr>
  820. <th>Type</th>
  821. <th>Description</th>
  822. </tr>
  823. </thead>
  824. <tbody>
  825. <tr>
  826. <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
  827. <td>The height.</td>
  828. </tr>
  829. </tbody>
  830. </table>
  831. <span class="small pull-right mobile-hide">
  832. <span class="divider">|</span>
  833. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_HotKey.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.HotKey%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  834. </span>
  835. <span class="small pull-right mobile-hide">
  836. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L189">View Source</a>
  837. </span>
  838. <a id="Terminal_Gui_View_HotKey_" data-uid="Terminal.Gui.View.HotKey*"></a>
  839. <h4 id="Terminal_Gui_View_HotKey" data-uid="Terminal.Gui.View.HotKey">HotKey</h4>
  840. <div class="markdown level1 summary">
  841. Gets or sets the HotKey defined for this view. A user pressing HotKey on the keyboard while this view has focus will cause the Clicked event to fire.
  842. </div>
  843. <div class="markdown level1 conceptual"></div>
  844. <h5 class="decalaration">Declaration</h5>
  845. <div class="codewrapper">
  846. <pre><code class="lang-csharp hljs">public virtual Key HotKey { get; set; }</code></pre>
  847. </div>
  848. <h5 class="propertyValue">Property Value</h5>
  849. <table class="table table-bordered table-striped table-condensed">
  850. <thead>
  851. <tr>
  852. <th>Type</th>
  853. <th>Description</th>
  854. </tr>
  855. </thead>
  856. <tbody>
  857. <tr>
  858. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  859. <td></td>
  860. </tr>
  861. </tbody>
  862. </table>
  863. <span class="small pull-right mobile-hide">
  864. <span class="divider">|</span>
  865. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_HotKeySpecifier.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.HotKeySpecifier%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  866. </span>
  867. <span class="small pull-right mobile-hide">
  868. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L201">View Source</a>
  869. </span>
  870. <a id="Terminal_Gui_View_HotKeySpecifier_" data-uid="Terminal.Gui.View.HotKeySpecifier*"></a>
  871. <h4 id="Terminal_Gui_View_HotKeySpecifier" data-uid="Terminal.Gui.View.HotKeySpecifier">HotKeySpecifier</h4>
  872. <div class="markdown level1 summary">
  873. Gets or sets the specifier character for the hotkey (e.g. &apos;_&apos;). Set to &apos;\xffff&apos; to disable hotkey support for this View instance. The default is &apos;\xffff&apos;.
  874. </div>
  875. <div class="markdown level1 conceptual"></div>
  876. <h5 class="decalaration">Declaration</h5>
  877. <div class="codewrapper">
  878. <pre><code class="lang-csharp hljs">public virtual Rune HotKeySpecifier { get; set; }</code></pre>
  879. </div>
  880. <h5 class="propertyValue">Property Value</h5>
  881. <table class="table table-bordered table-striped table-condensed">
  882. <thead>
  883. <tr>
  884. <th>Type</th>
  885. <th>Description</th>
  886. </tr>
  887. </thead>
  888. <tbody>
  889. <tr>
  890. <td><span class="xref">System.Rune</span></td>
  891. <td></td>
  892. </tr>
  893. </tbody>
  894. </table>
  895. <span class="small pull-right mobile-hide">
  896. <span class="divider">|</span>
  897. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Id.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Id%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  898. </span>
  899. <span class="small pull-right mobile-hide">
  900. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L421">View Source</a>
  901. </span>
  902. <a id="Terminal_Gui_View_Id_" data-uid="Terminal.Gui.View.Id*"></a>
  903. <h4 id="Terminal_Gui_View_Id" data-uid="Terminal.Gui.View.Id">Id</h4>
  904. <div class="markdown level1 summary">
  905. Gets or sets an identifier for the view;
  906. </div>
  907. <div class="markdown level1 conceptual"></div>
  908. <h5 class="decalaration">Declaration</h5>
  909. <div class="codewrapper">
  910. <pre><code class="lang-csharp hljs">public ustring Id { get; set; }</code></pre>
  911. </div>
  912. <h5 class="propertyValue">Property Value</h5>
  913. <table class="table table-bordered table-striped table-condensed">
  914. <thead>
  915. <tr>
  916. <th>Type</th>
  917. <th>Description</th>
  918. </tr>
  919. </thead>
  920. <tbody>
  921. <tr>
  922. <td><span class="xref">NStack.ustring</span></td>
  923. <td>The identifier.</td>
  924. </tr>
  925. </tbody>
  926. </table>
  927. <span class="small pull-right mobile-hide">
  928. <span class="divider">|</span>
  929. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_IsAdded.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.IsAdded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  930. </span>
  931. <span class="small pull-right mobile-hide">
  932. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2528">View Source</a>
  933. </span>
  934. <a id="Terminal_Gui_View_IsAdded_" data-uid="Terminal.Gui.View.IsAdded*"></a>
  935. <h4 id="Terminal_Gui_View_IsAdded" data-uid="Terminal.Gui.View.IsAdded">IsAdded</h4>
  936. <div class="markdown level1 summary">
  937. Gets information if the view was already added to the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SuperView">SuperView</a>.
  938. </div>
  939. <div class="markdown level1 conceptual"></div>
  940. <h5 class="decalaration">Declaration</h5>
  941. <div class="codewrapper">
  942. <pre><code class="lang-csharp hljs">public bool IsAdded { get; }</code></pre>
  943. </div>
  944. <h5 class="propertyValue">Property Value</h5>
  945. <table class="table table-bordered table-striped table-condensed">
  946. <thead>
  947. <tr>
  948. <th>Type</th>
  949. <th>Description</th>
  950. </tr>
  951. </thead>
  952. <tbody>
  953. <tr>
  954. <td><span class="xref">System.Boolean</span></td>
  955. <td></td>
  956. </tr>
  957. </tbody>
  958. </table>
  959. <span class="small pull-right mobile-hide">
  960. <span class="divider">|</span>
  961. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_IsCurrentTop.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.IsCurrentTop%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  962. </span>
  963. <span class="small pull-right mobile-hide">
  964. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L426">View Source</a>
  965. </span>
  966. <a id="Terminal_Gui_View_IsCurrentTop_" data-uid="Terminal.Gui.View.IsCurrentTop*"></a>
  967. <h4 id="Terminal_Gui_View_IsCurrentTop" data-uid="Terminal.Gui.View.IsCurrentTop">IsCurrentTop</h4>
  968. <div class="markdown level1 summary">
  969. Returns a value indicating if this View is currently on Top (Active)
  970. </div>
  971. <div class="markdown level1 conceptual"></div>
  972. <h5 class="decalaration">Declaration</h5>
  973. <div class="codewrapper">
  974. <pre><code class="lang-csharp hljs">public bool IsCurrentTop { get; }</code></pre>
  975. </div>
  976. <h5 class="propertyValue">Property Value</h5>
  977. <table class="table table-bordered table-striped table-condensed">
  978. <thead>
  979. <tr>
  980. <th>Type</th>
  981. <th>Description</th>
  982. </tr>
  983. </thead>
  984. <tbody>
  985. <tr>
  986. <td><span class="xref">System.Boolean</span></td>
  987. <td></td>
  988. </tr>
  989. </tbody>
  990. </table>
  991. <span class="small pull-right mobile-hide">
  992. <span class="divider">|</span>
  993. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_IsInitialized.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.IsInitialized%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  994. </span>
  995. <span class="small pull-right mobile-hide">
  996. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2523">View Source</a>
  997. </span>
  998. <a id="Terminal_Gui_View_IsInitialized_" data-uid="Terminal.Gui.View.IsInitialized*"></a>
  999. <h4 id="Terminal_Gui_View_IsInitialized" data-uid="Terminal.Gui.View.IsInitialized">IsInitialized</h4>
  1000. <div class="markdown level1 summary">
  1001. Get or sets if the <a class="xref" href="Terminal.Gui.View.html">View</a> was already initialized.
  1002. This derived from <span class="xref">System.ComponentModel.ISupportInitializeNotification</span> to allow notify all the views that are being initialized.
  1003. </div>
  1004. <div class="markdown level1 conceptual"></div>
  1005. <h5 class="decalaration">Declaration</h5>
  1006. <div class="codewrapper">
  1007. <pre><code class="lang-csharp hljs">public virtual bool IsInitialized { get; set; }</code></pre>
  1008. </div>
  1009. <h5 class="propertyValue">Property Value</h5>
  1010. <table class="table table-bordered table-striped table-condensed">
  1011. <thead>
  1012. <tr>
  1013. <th>Type</th>
  1014. <th>Description</th>
  1015. </tr>
  1016. </thead>
  1017. <tbody>
  1018. <tr>
  1019. <td><span class="xref">System.Boolean</span></td>
  1020. <td></td>
  1021. </tr>
  1022. </tbody>
  1023. </table>
  1024. <span class="small pull-right mobile-hide">
  1025. <span class="divider">|</span>
  1026. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_LayoutStyle.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.LayoutStyle%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1027. </span>
  1028. <span class="small pull-right mobile-hide">
  1029. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L488">View Source</a>
  1030. </span>
  1031. <a id="Terminal_Gui_View_LayoutStyle_" data-uid="Terminal.Gui.View.LayoutStyle*"></a>
  1032. <h4 id="Terminal_Gui_View_LayoutStyle" data-uid="Terminal.Gui.View.LayoutStyle">LayoutStyle</h4>
  1033. <div class="markdown level1 summary">
  1034. Controls how the View&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> is computed during the LayoutSubviews method, if the style is set to <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Absolute">Absolute</a>,
  1035. LayoutSubviews does not change the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a>. If the style is <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a> the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Frame">Frame</a> is updated using
  1036. the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_X">X</a>, <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Y">Y</a>, <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">Width</a>, and <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">Height</a> properties.
  1037. </div>
  1038. <div class="markdown level1 conceptual"></div>
  1039. <h5 class="decalaration">Declaration</h5>
  1040. <div class="codewrapper">
  1041. <pre><code class="lang-csharp hljs">public LayoutStyle LayoutStyle { get; set; }</code></pre>
  1042. </div>
  1043. <h5 class="propertyValue">Property Value</h5>
  1044. <table class="table table-bordered table-striped table-condensed">
  1045. <thead>
  1046. <tr>
  1047. <th>Type</th>
  1048. <th>Description</th>
  1049. </tr>
  1050. </thead>
  1051. <tbody>
  1052. <tr>
  1053. <td><a class="xref" href="Terminal.Gui.LayoutStyle.html">LayoutStyle</a></td>
  1054. <td>The layout style.</td>
  1055. </tr>
  1056. </tbody>
  1057. </table>
  1058. <span class="small pull-right mobile-hide">
  1059. <span class="divider">|</span>
  1060. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_MostFocused.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.MostFocused%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1061. </span>
  1062. <span class="small pull-right mobile-hide">
  1063. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1424">View Source</a>
  1064. </span>
  1065. <a id="Terminal_Gui_View_MostFocused_" data-uid="Terminal.Gui.View.MostFocused*"></a>
  1066. <h4 id="Terminal_Gui_View_MostFocused" data-uid="Terminal.Gui.View.MostFocused">MostFocused</h4>
  1067. <div class="markdown level1 summary">
  1068. Returns the most focused view in the chain of subviews (the leaf view that has the focus).
  1069. </div>
  1070. <div class="markdown level1 conceptual"></div>
  1071. <h5 class="decalaration">Declaration</h5>
  1072. <div class="codewrapper">
  1073. <pre><code class="lang-csharp hljs">public View MostFocused { get; }</code></pre>
  1074. </div>
  1075. <h5 class="propertyValue">Property Value</h5>
  1076. <table class="table table-bordered table-striped table-condensed">
  1077. <thead>
  1078. <tr>
  1079. <th>Type</th>
  1080. <th>Description</th>
  1081. </tr>
  1082. </thead>
  1083. <tbody>
  1084. <tr>
  1085. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1086. <td>The most focused.</td>
  1087. </tr>
  1088. </tbody>
  1089. </table>
  1090. <span class="small pull-right mobile-hide">
  1091. <span class="divider">|</span>
  1092. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_PreserveTrailingSpaces.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.PreserveTrailingSpaces%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1093. </span>
  1094. <span class="small pull-right mobile-hide">
  1095. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2454">View Source</a>
  1096. </span>
  1097. <a id="Terminal_Gui_View_PreserveTrailingSpaces_" data-uid="Terminal.Gui.View.PreserveTrailingSpaces*"></a>
  1098. <h4 id="Terminal_Gui_View_PreserveTrailingSpaces" data-uid="Terminal.Gui.View.PreserveTrailingSpaces">PreserveTrailingSpaces</h4>
  1099. <div class="markdown level1 summary">
  1100. Gets or sets a flag that determines whether <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Text">Text</a> will have trailing spaces preserved
  1101. or not when <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_NStack_ustring_System_Int32_System_Boolean_System_Int32_Terminal_Gui_TextDirection_">WordWrap(ustring, Int32, Boolean, Int32, TextDirection)</a> is enabled. If `true` any trailing spaces will be trimmed when
  1102. either the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a> property is changed or when <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_WordWrap_NStack_ustring_System_Int32_System_Boolean_System_Int32_Terminal_Gui_TextDirection_">WordWrap(ustring, Int32, Boolean, Int32, TextDirection)</a> is set to `true`.
  1103. The default is `false`.
  1104. </div>
  1105. <div class="markdown level1 conceptual"></div>
  1106. <h5 class="decalaration">Declaration</h5>
  1107. <div class="codewrapper">
  1108. <pre><code class="lang-csharp hljs">public virtual bool PreserveTrailingSpaces { get; set; }</code></pre>
  1109. </div>
  1110. <h5 class="propertyValue">Property Value</h5>
  1111. <table class="table table-bordered table-striped table-condensed">
  1112. <thead>
  1113. <tr>
  1114. <th>Type</th>
  1115. <th>Description</th>
  1116. </tr>
  1117. </thead>
  1118. <tbody>
  1119. <tr>
  1120. <td><span class="xref">System.Boolean</span></td>
  1121. <td></td>
  1122. </tr>
  1123. </tbody>
  1124. </table>
  1125. <span class="small pull-right mobile-hide">
  1126. <span class="divider">|</span>
  1127. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Shortcut.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Shortcut%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1128. </span>
  1129. <span class="small pull-right mobile-hide">
  1130. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L212">View Source</a>
  1131. </span>
  1132. <a id="Terminal_Gui_View_Shortcut_" data-uid="Terminal.Gui.View.Shortcut*"></a>
  1133. <h4 id="Terminal_Gui_View_Shortcut" data-uid="Terminal.Gui.View.Shortcut">Shortcut</h4>
  1134. <div class="markdown level1 summary">
  1135. This is the global setting that can be used as a global shortcut to invoke an action if provided.
  1136. </div>
  1137. <div class="markdown level1 conceptual"></div>
  1138. <h5 class="decalaration">Declaration</h5>
  1139. <div class="codewrapper">
  1140. <pre><code class="lang-csharp hljs">public Key Shortcut { get; set; }</code></pre>
  1141. </div>
  1142. <h5 class="propertyValue">Property Value</h5>
  1143. <table class="table table-bordered table-striped table-condensed">
  1144. <thead>
  1145. <tr>
  1146. <th>Type</th>
  1147. <th>Description</th>
  1148. </tr>
  1149. </thead>
  1150. <tbody>
  1151. <tr>
  1152. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  1153. <td></td>
  1154. </tr>
  1155. </tbody>
  1156. </table>
  1157. <span class="small pull-right mobile-hide">
  1158. <span class="divider">|</span>
  1159. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ShortcutAction.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ShortcutAction%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1160. </span>
  1161. <span class="small pull-right mobile-hide">
  1162. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L229">View Source</a>
  1163. </span>
  1164. <a id="Terminal_Gui_View_ShortcutAction_" data-uid="Terminal.Gui.View.ShortcutAction*"></a>
  1165. <h4 id="Terminal_Gui_View_ShortcutAction" data-uid="Terminal.Gui.View.ShortcutAction">ShortcutAction</h4>
  1166. <div class="markdown level1 summary">
  1167. The action to run if the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">Shortcut</a> is defined.
  1168. </div>
  1169. <div class="markdown level1 conceptual"></div>
  1170. <h5 class="decalaration">Declaration</h5>
  1171. <div class="codewrapper">
  1172. <pre><code class="lang-csharp hljs">public virtual Action ShortcutAction { get; set; }</code></pre>
  1173. </div>
  1174. <h5 class="propertyValue">Property Value</h5>
  1175. <table class="table table-bordered table-striped table-condensed">
  1176. <thead>
  1177. <tr>
  1178. <th>Type</th>
  1179. <th>Description</th>
  1180. </tr>
  1181. </thead>
  1182. <tbody>
  1183. <tr>
  1184. <td><span class="xref">System.Action</span></td>
  1185. <td></td>
  1186. </tr>
  1187. </tbody>
  1188. </table>
  1189. <span class="small pull-right mobile-hide">
  1190. <span class="divider">|</span>
  1191. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ShortcutTag.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ShortcutTag%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1192. </span>
  1193. <span class="small pull-right mobile-hide">
  1194. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L224">View Source</a>
  1195. </span>
  1196. <a id="Terminal_Gui_View_ShortcutTag_" data-uid="Terminal.Gui.View.ShortcutTag*"></a>
  1197. <h4 id="Terminal_Gui_View_ShortcutTag" data-uid="Terminal.Gui.View.ShortcutTag">ShortcutTag</h4>
  1198. <div class="markdown level1 summary">
  1199. The keystroke combination used in the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Shortcut">Shortcut</a> as string.
  1200. </div>
  1201. <div class="markdown level1 conceptual"></div>
  1202. <h5 class="decalaration">Declaration</h5>
  1203. <div class="codewrapper">
  1204. <pre><code class="lang-csharp hljs">public ustring ShortcutTag { get; }</code></pre>
  1205. </div>
  1206. <h5 class="propertyValue">Property Value</h5>
  1207. <table class="table table-bordered table-striped table-condensed">
  1208. <thead>
  1209. <tr>
  1210. <th>Type</th>
  1211. <th>Description</th>
  1212. </tr>
  1213. </thead>
  1214. <tbody>
  1215. <tr>
  1216. <td><span class="xref">NStack.ustring</span></td>
  1217. <td></td>
  1218. </tr>
  1219. </tbody>
  1220. </table>
  1221. <span class="small pull-right mobile-hide">
  1222. <span class="divider">|</span>
  1223. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Subviews.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Subviews%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1224. </span>
  1225. <span class="small pull-right mobile-hide">
  1226. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L262">View Source</a>
  1227. </span>
  1228. <a id="Terminal_Gui_View_Subviews_" data-uid="Terminal.Gui.View.Subviews*"></a>
  1229. <h4 id="Terminal_Gui_View_Subviews" data-uid="Terminal.Gui.View.Subviews">Subviews</h4>
  1230. <div class="markdown level1 summary">
  1231. This returns a list of the subviews contained by this view.
  1232. </div>
  1233. <div class="markdown level1 conceptual"></div>
  1234. <h5 class="decalaration">Declaration</h5>
  1235. <div class="codewrapper">
  1236. <pre><code class="lang-csharp hljs">public IList&lt;View&gt; Subviews { get; }</code></pre>
  1237. </div>
  1238. <h5 class="propertyValue">Property Value</h5>
  1239. <table class="table table-bordered table-striped table-condensed">
  1240. <thead>
  1241. <tr>
  1242. <th>Type</th>
  1243. <th>Description</th>
  1244. </tr>
  1245. </thead>
  1246. <tbody>
  1247. <tr>
  1248. <td><span class="xref">System.Collections.Generic.IList</span>&lt;<a class="xref" href="Terminal.Gui.View.html">View</a>&gt;</td>
  1249. <td>The subviews.</td>
  1250. </tr>
  1251. </tbody>
  1252. </table>
  1253. <span class="small pull-right mobile-hide">
  1254. <span class="divider">|</span>
  1255. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SuperView.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SuperView%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1256. </span>
  1257. <span class="small pull-right mobile-hide">
  1258. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L686">View Source</a>
  1259. </span>
  1260. <a id="Terminal_Gui_View_SuperView_" data-uid="Terminal.Gui.View.SuperView*"></a>
  1261. <h4 id="Terminal_Gui_View_SuperView" data-uid="Terminal.Gui.View.SuperView">SuperView</h4>
  1262. <div class="markdown level1 summary">
  1263. Returns the container for this view, or null if this view has not been added to a container.
  1264. </div>
  1265. <div class="markdown level1 conceptual"></div>
  1266. <h5 class="decalaration">Declaration</h5>
  1267. <div class="codewrapper">
  1268. <pre><code class="lang-csharp hljs">public View SuperView { get; }</code></pre>
  1269. </div>
  1270. <h5 class="propertyValue">Property Value</h5>
  1271. <table class="table table-bordered table-striped table-condensed">
  1272. <thead>
  1273. <tr>
  1274. <th>Type</th>
  1275. <th>Description</th>
  1276. </tr>
  1277. </thead>
  1278. <tbody>
  1279. <tr>
  1280. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1281. <td>The super view.</td>
  1282. </tr>
  1283. </tbody>
  1284. </table>
  1285. <span class="small pull-right mobile-hide">
  1286. <span class="divider">|</span>
  1287. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_TabIndex.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.TabIndex%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1288. </span>
  1289. <span class="small pull-right mobile-hide">
  1290. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L288">View Source</a>
  1291. </span>
  1292. <a id="Terminal_Gui_View_TabIndex_" data-uid="Terminal.Gui.View.TabIndex*"></a>
  1293. <h4 id="Terminal_Gui_View_TabIndex" data-uid="Terminal.Gui.View.TabIndex">TabIndex</h4>
  1294. <div class="markdown level1 summary">
  1295. Indicates the index of the current <a class="xref" href="Terminal.Gui.View.html">View</a> from the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_TabIndexes">TabIndexes</a> list.
  1296. </div>
  1297. <div class="markdown level1 conceptual"></div>
  1298. <h5 class="decalaration">Declaration</h5>
  1299. <div class="codewrapper">
  1300. <pre><code class="lang-csharp hljs">public int TabIndex { get; set; }</code></pre>
  1301. </div>
  1302. <h5 class="propertyValue">Property Value</h5>
  1303. <table class="table table-bordered table-striped table-condensed">
  1304. <thead>
  1305. <tr>
  1306. <th>Type</th>
  1307. <th>Description</th>
  1308. </tr>
  1309. </thead>
  1310. <tbody>
  1311. <tr>
  1312. <td><span class="xref">System.Int32</span></td>
  1313. <td></td>
  1314. </tr>
  1315. </tbody>
  1316. </table>
  1317. <span class="small pull-right mobile-hide">
  1318. <span class="divider">|</span>
  1319. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_TabIndexes.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.TabIndexes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1320. </span>
  1321. <span class="small pull-right mobile-hide">
  1322. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L281">View Source</a>
  1323. </span>
  1324. <a id="Terminal_Gui_View_TabIndexes_" data-uid="Terminal.Gui.View.TabIndexes*"></a>
  1325. <h4 id="Terminal_Gui_View_TabIndexes" data-uid="Terminal.Gui.View.TabIndexes">TabIndexes</h4>
  1326. <div class="markdown level1 summary">
  1327. This returns a tab index list of the subviews contained by this view.
  1328. </div>
  1329. <div class="markdown level1 conceptual"></div>
  1330. <h5 class="decalaration">Declaration</h5>
  1331. <div class="codewrapper">
  1332. <pre><code class="lang-csharp hljs">public IList&lt;View&gt; TabIndexes { get; }</code></pre>
  1333. </div>
  1334. <h5 class="propertyValue">Property Value</h5>
  1335. <table class="table table-bordered table-striped table-condensed">
  1336. <thead>
  1337. <tr>
  1338. <th>Type</th>
  1339. <th>Description</th>
  1340. </tr>
  1341. </thead>
  1342. <tbody>
  1343. <tr>
  1344. <td><span class="xref">System.Collections.Generic.IList</span>&lt;<a class="xref" href="Terminal.Gui.View.html">View</a>&gt;</td>
  1345. <td>The tabIndexes.</td>
  1346. </tr>
  1347. </tbody>
  1348. </table>
  1349. <span class="small pull-right mobile-hide">
  1350. <span class="divider">|</span>
  1351. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_TabStop.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.TabStop%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1352. </span>
  1353. <span class="small pull-right mobile-hide">
  1354. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L339">View Source</a>
  1355. </span>
  1356. <a id="Terminal_Gui_View_TabStop_" data-uid="Terminal.Gui.View.TabStop*"></a>
  1357. <h4 id="Terminal_Gui_View_TabStop" data-uid="Terminal.Gui.View.TabStop">TabStop</h4>
  1358. <div class="markdown level1 summary">
  1359. This only be <code>true</code> if the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">CanFocus</a> is also <code>true</code> and the focus can be avoided by setting this to <code>false</code>
  1360. </div>
  1361. <div class="markdown level1 conceptual"></div>
  1362. <h5 class="decalaration">Declaration</h5>
  1363. <div class="codewrapper">
  1364. <pre><code class="lang-csharp hljs">public bool TabStop { get; set; }</code></pre>
  1365. </div>
  1366. <h5 class="propertyValue">Property Value</h5>
  1367. <table class="table table-bordered table-striped table-condensed">
  1368. <thead>
  1369. <tr>
  1370. <th>Type</th>
  1371. <th>Description</th>
  1372. </tr>
  1373. </thead>
  1374. <tbody>
  1375. <tr>
  1376. <td><span class="xref">System.Boolean</span></td>
  1377. <td></td>
  1378. </tr>
  1379. </tbody>
  1380. </table>
  1381. <span class="small pull-right mobile-hide">
  1382. <span class="divider">|</span>
  1383. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Text.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Text%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1384. </span>
  1385. <span class="small pull-right mobile-hide">
  1386. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2416">View Source</a>
  1387. </span>
  1388. <a id="Terminal_Gui_View_Text_" data-uid="Terminal.Gui.View.Text*"></a>
  1389. <h4 id="Terminal_Gui_View_Text" data-uid="Terminal.Gui.View.Text">Text</h4>
  1390. <div class="markdown level1 summary">
  1391. The text displayed by the <a class="xref" href="Terminal.Gui.View.html">View</a>.
  1392. </div>
  1393. <div class="markdown level1 conceptual"></div>
  1394. <h5 class="decalaration">Declaration</h5>
  1395. <div class="codewrapper">
  1396. <pre><code class="lang-csharp hljs">public virtual ustring Text { get; set; }</code></pre>
  1397. </div>
  1398. <h5 class="propertyValue">Property Value</h5>
  1399. <table class="table table-bordered table-striped table-condensed">
  1400. <thead>
  1401. <tr>
  1402. <th>Type</th>
  1403. <th>Description</th>
  1404. </tr>
  1405. </thead>
  1406. <tbody>
  1407. <tr>
  1408. <td><span class="xref">NStack.ustring</span></td>
  1409. <td></td>
  1410. </tr>
  1411. </tbody>
  1412. </table>
  1413. <span class="small pull-right mobile-hide">
  1414. <span class="divider">|</span>
  1415. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_TextAlignment.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.TextAlignment%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1416. </span>
  1417. <span class="small pull-right mobile-hide">
  1418. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2468">View Source</a>
  1419. </span>
  1420. <a id="Terminal_Gui_View_TextAlignment_" data-uid="Terminal.Gui.View.TextAlignment*"></a>
  1421. <h4 id="Terminal_Gui_View_TextAlignment" data-uid="Terminal.Gui.View.TextAlignment">TextAlignment</h4>
  1422. <div class="markdown level1 summary">
  1423. Gets or sets how the View&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a> is aligned horizontally when drawn. Changing this property will redisplay the <a class="xref" href="Terminal.Gui.View.html">View</a>.
  1424. </div>
  1425. <div class="markdown level1 conceptual"></div>
  1426. <h5 class="decalaration">Declaration</h5>
  1427. <div class="codewrapper">
  1428. <pre><code class="lang-csharp hljs">public virtual TextAlignment TextAlignment { get; set; }</code></pre>
  1429. </div>
  1430. <h5 class="propertyValue">Property Value</h5>
  1431. <table class="table table-bordered table-striped table-condensed">
  1432. <thead>
  1433. <tr>
  1434. <th>Type</th>
  1435. <th>Description</th>
  1436. </tr>
  1437. </thead>
  1438. <tbody>
  1439. <tr>
  1440. <td><a class="xref" href="Terminal.Gui.TextAlignment.html">TextAlignment</a></td>
  1441. <td>The text alignment.</td>
  1442. </tr>
  1443. </tbody>
  1444. </table>
  1445. <span class="small pull-right mobile-hide">
  1446. <span class="divider">|</span>
  1447. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_TextDirection.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.TextDirection%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1448. </span>
  1449. <span class="small pull-right mobile-hide">
  1450. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2493">View Source</a>
  1451. </span>
  1452. <a id="Terminal_Gui_View_TextDirection_" data-uid="Terminal.Gui.View.TextDirection*"></a>
  1453. <h4 id="Terminal_Gui_View_TextDirection" data-uid="Terminal.Gui.View.TextDirection">TextDirection</h4>
  1454. <div class="markdown level1 summary">
  1455. Gets or sets the direction of the View&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a>. Changing this property will redisplay the <a class="xref" href="Terminal.Gui.View.html">View</a>.
  1456. </div>
  1457. <div class="markdown level1 conceptual"></div>
  1458. <h5 class="decalaration">Declaration</h5>
  1459. <div class="codewrapper">
  1460. <pre><code class="lang-csharp hljs">public virtual TextDirection TextDirection { get; set; }</code></pre>
  1461. </div>
  1462. <h5 class="propertyValue">Property Value</h5>
  1463. <table class="table table-bordered table-striped table-condensed">
  1464. <thead>
  1465. <tr>
  1466. <th>Type</th>
  1467. <th>Description</th>
  1468. </tr>
  1469. </thead>
  1470. <tbody>
  1471. <tr>
  1472. <td><a class="xref" href="Terminal.Gui.TextDirection.html">TextDirection</a></td>
  1473. <td>The text alignment.</td>
  1474. </tr>
  1475. </tbody>
  1476. </table>
  1477. <span class="small pull-right mobile-hide">
  1478. <span class="divider">|</span>
  1479. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_TextFormatter.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.TextFormatter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1480. </span>
  1481. <span class="small pull-right mobile-hide">
  1482. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L680">View Source</a>
  1483. </span>
  1484. <a id="Terminal_Gui_View_TextFormatter_" data-uid="Terminal.Gui.View.TextFormatter*"></a>
  1485. <h4 id="Terminal_Gui_View_TextFormatter" data-uid="Terminal.Gui.View.TextFormatter">TextFormatter</h4>
  1486. <div class="markdown level1 summary">
  1487. Gets or sets the <a class="xref" href="Terminal.Gui.TextFormatter.html">TextFormatter</a> which can be handled differently by any derived class.
  1488. </div>
  1489. <div class="markdown level1 conceptual"></div>
  1490. <h5 class="decalaration">Declaration</h5>
  1491. <div class="codewrapper">
  1492. <pre><code class="lang-csharp hljs">public TextFormatter TextFormatter { get; set; }</code></pre>
  1493. </div>
  1494. <h5 class="propertyValue">Property Value</h5>
  1495. <table class="table table-bordered table-striped table-condensed">
  1496. <thead>
  1497. <tr>
  1498. <th>Type</th>
  1499. <th>Description</th>
  1500. </tr>
  1501. </thead>
  1502. <tbody>
  1503. <tr>
  1504. <td><a class="xref" href="Terminal.Gui.TextFormatter.html">TextFormatter</a></td>
  1505. <td></td>
  1506. </tr>
  1507. </tbody>
  1508. </table>
  1509. <span class="small pull-right mobile-hide">
  1510. <span class="divider">|</span>
  1511. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_VerticalTextAlignment.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.VerticalTextAlignment%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1512. </span>
  1513. <span class="small pull-right mobile-hide">
  1514. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2481">View Source</a>
  1515. </span>
  1516. <a id="Terminal_Gui_View_VerticalTextAlignment_" data-uid="Terminal.Gui.View.VerticalTextAlignment*"></a>
  1517. <h4 id="Terminal_Gui_View_VerticalTextAlignment" data-uid="Terminal.Gui.View.VerticalTextAlignment">VerticalTextAlignment</h4>
  1518. <div class="markdown level1 summary">
  1519. Gets or sets how the View&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Text">Text</a> is aligned verticaly when drawn. Changing this property will redisplay the <a class="xref" href="Terminal.Gui.View.html">View</a>.
  1520. </div>
  1521. <div class="markdown level1 conceptual"></div>
  1522. <h5 class="decalaration">Declaration</h5>
  1523. <div class="codewrapper">
  1524. <pre><code class="lang-csharp hljs">public virtual VerticalTextAlignment VerticalTextAlignment { get; set; }</code></pre>
  1525. </div>
  1526. <h5 class="propertyValue">Property Value</h5>
  1527. <table class="table table-bordered table-striped table-condensed">
  1528. <thead>
  1529. <tr>
  1530. <th>Type</th>
  1531. <th>Description</th>
  1532. </tr>
  1533. </thead>
  1534. <tbody>
  1535. <tr>
  1536. <td><a class="xref" href="Terminal.Gui.VerticalTextAlignment.html">VerticalTextAlignment</a></td>
  1537. <td>The text alignment.</td>
  1538. </tr>
  1539. </tbody>
  1540. </table>
  1541. <span class="small pull-right mobile-hide">
  1542. <span class="divider">|</span>
  1543. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Visible.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Visible%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1544. </span>
  1545. <span class="small pull-right mobile-hide">
  1546. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2560">View Source</a>
  1547. </span>
  1548. <a id="Terminal_Gui_View_Visible_" data-uid="Terminal.Gui.View.Visible*"></a>
  1549. <h4 id="Terminal_Gui_View_Visible" data-uid="Terminal.Gui.View.Visible">Visible</h4>
  1550. <div class="markdown level1 summary"></div>
  1551. <div class="markdown level1 conceptual"></div>
  1552. <h5 class="decalaration">Declaration</h5>
  1553. <div class="codewrapper">
  1554. <pre><code class="lang-csharp hljs">public override bool Visible { get; set; }</code></pre>
  1555. </div>
  1556. <h5 class="propertyValue">Property Value</h5>
  1557. <table class="table table-bordered table-striped table-condensed">
  1558. <thead>
  1559. <tr>
  1560. <th>Type</th>
  1561. <th>Description</th>
  1562. </tr>
  1563. </thead>
  1564. <tbody>
  1565. <tr>
  1566. <td><span class="xref">System.Boolean</span></td>
  1567. <td></td>
  1568. </tr>
  1569. </tbody>
  1570. </table>
  1571. <h5 class="overrides">Overrides</h5>
  1572. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Visible">Responder.Visible</a></div>
  1573. <span class="small pull-right mobile-hide">
  1574. <span class="divider">|</span>
  1575. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_WantContinuousButtonPressed.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.WantContinuousButtonPressed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1576. </span>
  1577. <span class="small pull-right mobile-hide">
  1578. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L441">View Source</a>
  1579. </span>
  1580. <a id="Terminal_Gui_View_WantContinuousButtonPressed_" data-uid="Terminal.Gui.View.WantContinuousButtonPressed*"></a>
  1581. <h4 id="Terminal_Gui_View_WantContinuousButtonPressed" data-uid="Terminal.Gui.View.WantContinuousButtonPressed">WantContinuousButtonPressed</h4>
  1582. <div class="markdown level1 summary">
  1583. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.View.html">View</a> want continuous button pressed event.
  1584. </div>
  1585. <div class="markdown level1 conceptual"></div>
  1586. <h5 class="decalaration">Declaration</h5>
  1587. <div class="codewrapper">
  1588. <pre><code class="lang-csharp hljs">public virtual bool WantContinuousButtonPressed { get; set; }</code></pre>
  1589. </div>
  1590. <h5 class="propertyValue">Property Value</h5>
  1591. <table class="table table-bordered table-striped table-condensed">
  1592. <thead>
  1593. <tr>
  1594. <th>Type</th>
  1595. <th>Description</th>
  1596. </tr>
  1597. </thead>
  1598. <tbody>
  1599. <tr>
  1600. <td><span class="xref">System.Boolean</span></td>
  1601. <td></td>
  1602. </tr>
  1603. </tbody>
  1604. </table>
  1605. <span class="small pull-right mobile-hide">
  1606. <span class="divider">|</span>
  1607. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_WantMousePositionReports.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.WantMousePositionReports%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1608. </span>
  1609. <span class="small pull-right mobile-hide">
  1610. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L436">View Source</a>
  1611. </span>
  1612. <a id="Terminal_Gui_View_WantMousePositionReports_" data-uid="Terminal.Gui.View.WantMousePositionReports*"></a>
  1613. <h4 id="Terminal_Gui_View_WantMousePositionReports" data-uid="Terminal.Gui.View.WantMousePositionReports">WantMousePositionReports</h4>
  1614. <div class="markdown level1 summary">
  1615. Gets or sets a value indicating whether this <a class="xref" href="Terminal.Gui.View.html">View</a> wants mouse position reports.
  1616. </div>
  1617. <div class="markdown level1 conceptual"></div>
  1618. <h5 class="decalaration">Declaration</h5>
  1619. <div class="codewrapper">
  1620. <pre><code class="lang-csharp hljs">public virtual bool WantMousePositionReports { get; set; }</code></pre>
  1621. </div>
  1622. <h5 class="propertyValue">Property Value</h5>
  1623. <table class="table table-bordered table-striped table-condensed">
  1624. <thead>
  1625. <tr>
  1626. <th>Type</th>
  1627. <th>Description</th>
  1628. </tr>
  1629. </thead>
  1630. <tbody>
  1631. <tr>
  1632. <td><span class="xref">System.Boolean</span></td>
  1633. <td><code>true</code> if want mouse position reports; otherwise, <code>false</code>.</td>
  1634. </tr>
  1635. </tbody>
  1636. </table>
  1637. <span class="small pull-right mobile-hide">
  1638. <span class="divider">|</span>
  1639. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Width.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Width%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1640. </span>
  1641. <span class="small pull-right mobile-hide">
  1642. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L569">View Source</a>
  1643. </span>
  1644. <a id="Terminal_Gui_View_Width_" data-uid="Terminal.Gui.View.Width*"></a>
  1645. <h4 id="Terminal_Gui_View_Width" data-uid="Terminal.Gui.View.Width">Width</h4>
  1646. <div class="markdown level1 summary">
  1647. Gets or sets the width of the view. Only used the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">LayoutStyle</a> is <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a>.
  1648. </div>
  1649. <div class="markdown level1 conceptual"></div>
  1650. <h5 class="decalaration">Declaration</h5>
  1651. <div class="codewrapper">
  1652. <pre><code class="lang-csharp hljs">public Dim Width { get; set; }</code></pre>
  1653. </div>
  1654. <h5 class="propertyValue">Property Value</h5>
  1655. <table class="table table-bordered table-striped table-condensed">
  1656. <thead>
  1657. <tr>
  1658. <th>Type</th>
  1659. <th>Description</th>
  1660. </tr>
  1661. </thead>
  1662. <tbody>
  1663. <tr>
  1664. <td><a class="xref" href="Terminal.Gui.Dim.html">Dim</a></td>
  1665. <td>The width.</td>
  1666. </tr>
  1667. </tbody>
  1668. </table>
  1669. <span class="small pull-right mobile-hide">
  1670. <span class="divider">|</span>
  1671. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_X.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.X%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1672. </span>
  1673. <span class="small pull-right mobile-hide">
  1674. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L528">View Source</a>
  1675. </span>
  1676. <a id="Terminal_Gui_View_X_" data-uid="Terminal.Gui.View.X*"></a>
  1677. <h4 id="Terminal_Gui_View_X" data-uid="Terminal.Gui.View.X">X</h4>
  1678. <div class="markdown level1 summary">
  1679. Gets or sets the X position for the view (the column). Only used the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">LayoutStyle</a> is <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a>.
  1680. </div>
  1681. <div class="markdown level1 conceptual"></div>
  1682. <h5 class="decalaration">Declaration</h5>
  1683. <div class="codewrapper">
  1684. <pre><code class="lang-csharp hljs">public Pos X { get; set; }</code></pre>
  1685. </div>
  1686. <h5 class="propertyValue">Property Value</h5>
  1687. <table class="table table-bordered table-striped table-condensed">
  1688. <thead>
  1689. <tr>
  1690. <th>Type</th>
  1691. <th>Description</th>
  1692. </tr>
  1693. </thead>
  1694. <tbody>
  1695. <tr>
  1696. <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
  1697. <td>The X Position.</td>
  1698. </tr>
  1699. </tbody>
  1700. </table>
  1701. <span class="small pull-right mobile-hide">
  1702. <span class="divider">|</span>
  1703. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Y.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Y%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1704. </span>
  1705. <span class="small pull-right mobile-hide">
  1706. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L548">View Source</a>
  1707. </span>
  1708. <a id="Terminal_Gui_View_Y_" data-uid="Terminal.Gui.View.Y*"></a>
  1709. <h4 id="Terminal_Gui_View_Y" data-uid="Terminal.Gui.View.Y">Y</h4>
  1710. <div class="markdown level1 summary">
  1711. Gets or sets the Y position for the view (the row). Only used the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutStyle">LayoutStyle</a> is <a class="xref" href="Terminal.Gui.LayoutStyle.html#Terminal_Gui_LayoutStyle_Computed">Computed</a>.
  1712. </div>
  1713. <div class="markdown level1 conceptual"></div>
  1714. <h5 class="decalaration">Declaration</h5>
  1715. <div class="codewrapper">
  1716. <pre><code class="lang-csharp hljs">public Pos Y { get; set; }</code></pre>
  1717. </div>
  1718. <h5 class="propertyValue">Property Value</h5>
  1719. <table class="table table-bordered table-striped table-condensed">
  1720. <thead>
  1721. <tr>
  1722. <th>Type</th>
  1723. <th>Description</th>
  1724. </tr>
  1725. </thead>
  1726. <tbody>
  1727. <tr>
  1728. <td><a class="xref" href="Terminal.Gui.Pos.html">Pos</a></td>
  1729. <td>The y position (line).</td>
  1730. </tr>
  1731. </tbody>
  1732. </table>
  1733. <h3 id="methods">Methods
  1734. </h3>
  1735. <span class="small pull-right mobile-hide">
  1736. <span class="divider">|</span>
  1737. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Add_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Add(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1738. </span>
  1739. <span class="small pull-right mobile-hide">
  1740. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L930">View Source</a>
  1741. </span>
  1742. <a id="Terminal_Gui_View_Add_" data-uid="Terminal.Gui.View.Add*"></a>
  1743. <h4 id="Terminal_Gui_View_Add_Terminal_Gui_View_" data-uid="Terminal.Gui.View.Add(Terminal.Gui.View)">Add(View)</h4>
  1744. <div class="markdown level1 summary">
  1745. Adds a subview (child) to this view.
  1746. </div>
  1747. <div class="markdown level1 conceptual"></div>
  1748. <h5 class="decalaration">Declaration</h5>
  1749. <div class="codewrapper">
  1750. <pre><code class="lang-csharp hljs">public virtual void Add(View view)</code></pre>
  1751. </div>
  1752. <h5 class="parameters">Parameters</h5>
  1753. <table class="table table-bordered table-striped table-condensed">
  1754. <thead>
  1755. <tr>
  1756. <th>Type</th>
  1757. <th>Name</th>
  1758. <th>Description</th>
  1759. </tr>
  1760. </thead>
  1761. <tbody>
  1762. <tr>
  1763. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1764. <td><span class="parametername">view</span></td>
  1765. <td></td>
  1766. </tr>
  1767. </tbody>
  1768. </table>
  1769. <span class="small pull-right mobile-hide">
  1770. <span class="divider">|</span>
  1771. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Add_Terminal_Gui_View___.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Add(Terminal.Gui.View%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1772. </span>
  1773. <span class="small pull-right mobile-hide">
  1774. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L970">View Source</a>
  1775. </span>
  1776. <a id="Terminal_Gui_View_Add_" data-uid="Terminal.Gui.View.Add*"></a>
  1777. <h4 id="Terminal_Gui_View_Add_Terminal_Gui_View___" data-uid="Terminal.Gui.View.Add(Terminal.Gui.View[])">Add(View[])</h4>
  1778. <div class="markdown level1 summary">
  1779. Adds the specified views (children) to the view.
  1780. </div>
  1781. <div class="markdown level1 conceptual"></div>
  1782. <h5 class="decalaration">Declaration</h5>
  1783. <div class="codewrapper">
  1784. <pre><code class="lang-csharp hljs">public void Add(params View[] views)</code></pre>
  1785. </div>
  1786. <h5 class="parameters">Parameters</h5>
  1787. <table class="table table-bordered table-striped table-condensed">
  1788. <thead>
  1789. <tr>
  1790. <th>Type</th>
  1791. <th>Name</th>
  1792. <th>Description</th>
  1793. </tr>
  1794. </thead>
  1795. <tbody>
  1796. <tr>
  1797. <td><a class="xref" href="Terminal.Gui.View.html">View</a>[]</td>
  1798. <td><span class="parametername">views</span></td>
  1799. <td>Array of one or more views (can be optional parameter).</td>
  1800. </tr>
  1801. </tbody>
  1802. </table>
  1803. <span class="small pull-right mobile-hide">
  1804. <span class="divider">|</span>
  1805. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.AddCommand(Terminal.Gui.Command%2CSystem.Func%7BSystem.Nullable%7BSystem.Boolean%7D%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1806. </span>
  1807. <span class="small pull-right mobile-hide">
  1808. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1837">View Source</a>
  1809. </span>
  1810. <a id="Terminal_Gui_View_AddCommand_" data-uid="Terminal.Gui.View.AddCommand*"></a>
  1811. <h4 id="Terminal_Gui_View_AddCommand_Terminal_Gui_Command_System_Func_System_Nullable_System_Boolean___" data-uid="Terminal.Gui.View.AddCommand(Terminal.Gui.Command,System.Func{System.Nullable{System.Boolean}})">AddCommand(Command, Func&lt;Nullable&lt;Boolean&gt;&gt;)</h4>
  1812. <div class="markdown level1 summary">
  1813. <p>States that the given <a class="xref" href="Terminal.Gui.View.html">View</a> supports a given <code data-dev-comment-type="paramref" class="paramref">command</code>
  1814. and what <code data-dev-comment-type="paramref" class="paramref">f</code> to perform to make that command happen
  1815. </p>
  1816. <p>If the <code data-dev-comment-type="paramref" class="paramref">command</code> already has an implementation the <code data-dev-comment-type="paramref" class="paramref">f</code>
  1817. will replace the old one</p>
  1818. </div>
  1819. <div class="markdown level1 conceptual"></div>
  1820. <h5 class="decalaration">Declaration</h5>
  1821. <div class="codewrapper">
  1822. <pre><code class="lang-csharp hljs">protected void AddCommand(Command command, Func&lt;bool?&gt; f)</code></pre>
  1823. </div>
  1824. <h5 class="parameters">Parameters</h5>
  1825. <table class="table table-bordered table-striped table-condensed">
  1826. <thead>
  1827. <tr>
  1828. <th>Type</th>
  1829. <th>Name</th>
  1830. <th>Description</th>
  1831. </tr>
  1832. </thead>
  1833. <tbody>
  1834. <tr>
  1835. <td><a class="xref" href="Terminal.Gui.Command.html">Command</a></td>
  1836. <td><span class="parametername">command</span></td>
  1837. <td>The command.</td>
  1838. </tr>
  1839. <tr>
  1840. <td><span class="xref">System.Func</span>&lt;<span class="xref">System.Nullable</span>&lt;<span class="xref">System.Boolean</span>&gt;&gt;</td>
  1841. <td><span class="parametername">f</span></td>
  1842. <td>The function.</td>
  1843. </tr>
  1844. </tbody>
  1845. </table>
  1846. <span class="small pull-right mobile-hide">
  1847. <span class="divider">|</span>
  1848. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key%2CTerminal.Gui.Command%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1849. </span>
  1850. <span class="small pull-right mobile-hide">
  1851. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1761">View Source</a>
  1852. </span>
  1853. <a id="Terminal_Gui_View_AddKeyBinding_" data-uid="Terminal.Gui.View.AddKeyBinding*"></a>
  1854. <h4 id="Terminal_Gui_View_AddKeyBinding_Terminal_Gui_Key_Terminal_Gui_Command___" data-uid="Terminal.Gui.View.AddKeyBinding(Terminal.Gui.Key,Terminal.Gui.Command[])">AddKeyBinding(Key, Command[])</h4>
  1855. <div class="markdown level1 summary">
  1856. <p>Adds a new key combination that will trigger the given <code data-dev-comment-type="paramref" class="paramref">command</code>
  1857. (if supported by the View - see <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_GetSupportedCommands">GetSupportedCommands()</a>)
  1858. </p>
  1859. <p>If the key is already bound to a different <a class="xref" href="Terminal.Gui.Command.html">Command</a> it will be
  1860. rebound to this one</p>
  1861. <remarks>Commands are only ever applied to the current <a class="xref" href="Terminal.Gui.View.html">View</a>(i.e. this feature
  1862. cannot be used to switch focus to another view and perform multiple commands there)</remarks>
  1863. </div>
  1864. <div class="markdown level1 conceptual"></div>
  1865. <h5 class="decalaration">Declaration</h5>
  1866. <div class="codewrapper">
  1867. <pre><code class="lang-csharp hljs">public void AddKeyBinding(Key key, params Command[] command)</code></pre>
  1868. </div>
  1869. <h5 class="parameters">Parameters</h5>
  1870. <table class="table table-bordered table-striped table-condensed">
  1871. <thead>
  1872. <tr>
  1873. <th>Type</th>
  1874. <th>Name</th>
  1875. <th>Description</th>
  1876. </tr>
  1877. </thead>
  1878. <tbody>
  1879. <tr>
  1880. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  1881. <td><span class="parametername">key</span></td>
  1882. <td></td>
  1883. </tr>
  1884. <tr>
  1885. <td><a class="xref" href="Terminal.Gui.Command.html">Command</a>[]</td>
  1886. <td><span class="parametername">command</span></td>
  1887. <td>The command(s) to run on the <a class="xref" href="Terminal.Gui.View.html">View</a> when <code data-dev-comment-type="paramref" class="paramref">key</code> is pressed.
  1888. When specifying multiple, all commands will be applied in sequence. The bound <code data-dev-comment-type="paramref" class="paramref">key</code> strike
  1889. will be consumed if any took effect.</td>
  1890. </tr>
  1891. </tbody>
  1892. </table>
  1893. <span class="small pull-right mobile-hide">
  1894. <span class="divider">|</span>
  1895. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.AddRune(System.Int32%2CSystem.Int32%2CSystem.Rune)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1896. </span>
  1897. <span class="small pull-right mobile-hide">
  1898. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1461">View Source</a>
  1899. </span>
  1900. <a id="Terminal_Gui_View_AddRune_" data-uid="Terminal.Gui.View.AddRune*"></a>
  1901. <h4 id="Terminal_Gui_View_AddRune_System_Int32_System_Int32_System_Rune_" data-uid="Terminal.Gui.View.AddRune(System.Int32,System.Int32,System.Rune)">AddRune(Int32, Int32, Rune)</h4>
  1902. <div class="markdown level1 summary">
  1903. Displays the specified character in the specified column and row of the View.
  1904. </div>
  1905. <div class="markdown level1 conceptual"></div>
  1906. <h5 class="decalaration">Declaration</h5>
  1907. <div class="codewrapper">
  1908. <pre><code class="lang-csharp hljs">public void AddRune(int col, int row, Rune ch)</code></pre>
  1909. </div>
  1910. <h5 class="parameters">Parameters</h5>
  1911. <table class="table table-bordered table-striped table-condensed">
  1912. <thead>
  1913. <tr>
  1914. <th>Type</th>
  1915. <th>Name</th>
  1916. <th>Description</th>
  1917. </tr>
  1918. </thead>
  1919. <tbody>
  1920. <tr>
  1921. <td><span class="xref">System.Int32</span></td>
  1922. <td><span class="parametername">col</span></td>
  1923. <td>Column (view-relative).</td>
  1924. </tr>
  1925. <tr>
  1926. <td><span class="xref">System.Int32</span></td>
  1927. <td><span class="parametername">row</span></td>
  1928. <td>Row (view-relative).</td>
  1929. </tr>
  1930. <tr>
  1931. <td><span class="xref">System.Rune</span></td>
  1932. <td><span class="parametername">ch</span></td>
  1933. <td>Ch.</td>
  1934. </tr>
  1935. </tbody>
  1936. </table>
  1937. <span class="small pull-right mobile-hide">
  1938. <span class="divider">|</span>
  1939. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_BeginInit.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.BeginInit%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1940. </span>
  1941. <span class="small pull-right mobile-hide">
  1942. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2855">View Source</a>
  1943. </span>
  1944. <a id="Terminal_Gui_View_BeginInit_" data-uid="Terminal.Gui.View.BeginInit*"></a>
  1945. <h4 id="Terminal_Gui_View_BeginInit" data-uid="Terminal.Gui.View.BeginInit">BeginInit()</h4>
  1946. <div class="markdown level1 summary">
  1947. This derived from <span class="xref">System.ComponentModel.ISupportInitializeNotification</span> to allow notify all the views that are beginning initialized.
  1948. </div>
  1949. <div class="markdown level1 conceptual"></div>
  1950. <h5 class="decalaration">Declaration</h5>
  1951. <div class="codewrapper">
  1952. <pre><code class="lang-csharp hljs">public void BeginInit()</code></pre>
  1953. </div>
  1954. <span class="small pull-right mobile-hide">
  1955. <span class="divider">|</span>
  1956. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.BringSubviewForward(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1957. </span>
  1958. <span class="small pull-right mobile-hide">
  1959. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1086">View Source</a>
  1960. </span>
  1961. <a id="Terminal_Gui_View_BringSubviewForward_" data-uid="Terminal.Gui.View.BringSubviewForward*"></a>
  1962. <h4 id="Terminal_Gui_View_BringSubviewForward_Terminal_Gui_View_" data-uid="Terminal.Gui.View.BringSubviewForward(Terminal.Gui.View)">BringSubviewForward(View)</h4>
  1963. <div class="markdown level1 summary">
  1964. Moves the subview backwards in the hierarchy, only one step
  1965. </div>
  1966. <div class="markdown level1 conceptual"></div>
  1967. <h5 class="decalaration">Declaration</h5>
  1968. <div class="codewrapper">
  1969. <pre><code class="lang-csharp hljs">public void BringSubviewForward(View subview)</code></pre>
  1970. </div>
  1971. <h5 class="parameters">Parameters</h5>
  1972. <table class="table table-bordered table-striped table-condensed">
  1973. <thead>
  1974. <tr>
  1975. <th>Type</th>
  1976. <th>Name</th>
  1977. <th>Description</th>
  1978. </tr>
  1979. </thead>
  1980. <tbody>
  1981. <tr>
  1982. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  1983. <td><span class="parametername">subview</span></td>
  1984. <td>The subview to send backwards</td>
  1985. </tr>
  1986. </tbody>
  1987. </table>
  1988. <span class="small pull-right mobile-hide">
  1989. <span class="divider">|</span>
  1990. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.BringSubviewToFront(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  1991. </span>
  1992. <span class="small pull-right mobile-hide">
  1993. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1038">View Source</a>
  1994. </span>
  1995. <a id="Terminal_Gui_View_BringSubviewToFront_" data-uid="Terminal.Gui.View.BringSubviewToFront*"></a>
  1996. <h4 id="Terminal_Gui_View_BringSubviewToFront_Terminal_Gui_View_" data-uid="Terminal.Gui.View.BringSubviewToFront(Terminal.Gui.View)">BringSubviewToFront(View)</h4>
  1997. <div class="markdown level1 summary">
  1998. Brings the specified subview to the front so it is drawn on top of any other views.
  1999. </div>
  2000. <div class="markdown level1 conceptual"></div>
  2001. <h5 class="decalaration">Declaration</h5>
  2002. <div class="codewrapper">
  2003. <pre><code class="lang-csharp hljs">public void BringSubviewToFront(View subview)</code></pre>
  2004. </div>
  2005. <h5 class="parameters">Parameters</h5>
  2006. <table class="table table-bordered table-striped table-condensed">
  2007. <thead>
  2008. <tr>
  2009. <th>Type</th>
  2010. <th>Name</th>
  2011. <th>Description</th>
  2012. </tr>
  2013. </thead>
  2014. <tbody>
  2015. <tr>
  2016. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  2017. <td><span class="parametername">subview</span></td>
  2018. <td>The subview to send to the front</td>
  2019. </tr>
  2020. </tbody>
  2021. </table>
  2022. <span class="small pull-right mobile-hide">
  2023. <span class="divider">|</span>
  2024. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Clear.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Clear%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2025. </span>
  2026. <span class="small pull-right mobile-hide">
  2027. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1105">View Source</a>
  2028. </span>
  2029. <a id="Terminal_Gui_View_Clear_" data-uid="Terminal.Gui.View.Clear*"></a>
  2030. <h4 id="Terminal_Gui_View_Clear" data-uid="Terminal.Gui.View.Clear">Clear()</h4>
  2031. <div class="markdown level1 summary">
  2032. Clears the view region with the current color.
  2033. </div>
  2034. <div class="markdown level1 conceptual"></div>
  2035. <h5 class="decalaration">Declaration</h5>
  2036. <div class="codewrapper">
  2037. <pre><code class="lang-csharp hljs">public void Clear()</code></pre>
  2038. </div>
  2039. <span class="small pull-right mobile-hide">
  2040. <span class="divider">|</span>
  2041. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Clear_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Clear(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2042. </span>
  2043. <span class="small pull-right mobile-hide">
  2044. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1122">View Source</a>
  2045. </span>
  2046. <a id="Terminal_Gui_View_Clear_" data-uid="Terminal.Gui.View.Clear*"></a>
  2047. <h4 id="Terminal_Gui_View_Clear_Terminal_Gui_Rect_" data-uid="Terminal.Gui.View.Clear(Terminal.Gui.Rect)">Clear(Rect)</h4>
  2048. <div class="markdown level1 summary">
  2049. Clears the specified region with the current color.
  2050. </div>
  2051. <div class="markdown level1 conceptual"></div>
  2052. <h5 class="decalaration">Declaration</h5>
  2053. <div class="codewrapper">
  2054. <pre><code class="lang-csharp hljs">public void Clear(Rect regionScreen)</code></pre>
  2055. </div>
  2056. <h5 class="parameters">Parameters</h5>
  2057. <table class="table table-bordered table-striped table-condensed">
  2058. <thead>
  2059. <tr>
  2060. <th>Type</th>
  2061. <th>Name</th>
  2062. <th>Description</th>
  2063. </tr>
  2064. </thead>
  2065. <tbody>
  2066. <tr>
  2067. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  2068. <td><span class="parametername">regionScreen</span></td>
  2069. <td>The screen-relative region to clear.</td>
  2070. </tr>
  2071. </tbody>
  2072. </table>
  2073. <span class="small pull-right mobile-hide">
  2074. <span class="divider">|</span>
  2075. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2076. </span>
  2077. <span class="small pull-right mobile-hide">
  2078. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1821">View Source</a>
  2079. </span>
  2080. <a id="Terminal_Gui_View_ClearKeybinding_" data-uid="Terminal.Gui.View.ClearKeybinding*"></a>
  2081. <h4 id="Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Command___" data-uid="Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Command[])">ClearKeybinding(Command[])</h4>
  2082. <div class="markdown level1 summary">
  2083. Removes all key bindings that trigger the given command. Views can have multiple different
  2084. keys bound to the same command and this method will clear all of them.
  2085. </div>
  2086. <div class="markdown level1 conceptual"></div>
  2087. <h5 class="decalaration">Declaration</h5>
  2088. <div class="codewrapper">
  2089. <pre><code class="lang-csharp hljs">public void ClearKeybinding(params Command[] command)</code></pre>
  2090. </div>
  2091. <h5 class="parameters">Parameters</h5>
  2092. <table class="table table-bordered table-striped table-condensed">
  2093. <thead>
  2094. <tr>
  2095. <th>Type</th>
  2096. <th>Name</th>
  2097. <th>Description</th>
  2098. </tr>
  2099. </thead>
  2100. <tbody>
  2101. <tr>
  2102. <td><a class="xref" href="Terminal.Gui.Command.html">Command</a>[]</td>
  2103. <td><span class="parametername">command</span></td>
  2104. <td></td>
  2105. </tr>
  2106. </tbody>
  2107. </table>
  2108. <span class="small pull-right mobile-hide">
  2109. <span class="divider">|</span>
  2110. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Key)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2111. </span>
  2112. <span class="small pull-right mobile-hide">
  2113. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1811">View Source</a>
  2114. </span>
  2115. <a id="Terminal_Gui_View_ClearKeybinding_" data-uid="Terminal.Gui.View.ClearKeybinding*"></a>
  2116. <h4 id="Terminal_Gui_View_ClearKeybinding_Terminal_Gui_Key_" data-uid="Terminal.Gui.View.ClearKeybinding(Terminal.Gui.Key)">ClearKeybinding(Key)</h4>
  2117. <div class="markdown level1 summary">
  2118. Clears the existing keybinding (if any) for the given <code data-dev-comment-type="paramref" class="paramref">key</code>
  2119. </div>
  2120. <div class="markdown level1 conceptual"></div>
  2121. <h5 class="decalaration">Declaration</h5>
  2122. <div class="codewrapper">
  2123. <pre><code class="lang-csharp hljs">public void ClearKeybinding(Key key)</code></pre>
  2124. </div>
  2125. <h5 class="parameters">Parameters</h5>
  2126. <table class="table table-bordered table-striped table-condensed">
  2127. <thead>
  2128. <tr>
  2129. <th>Type</th>
  2130. <th>Name</th>
  2131. <th>Description</th>
  2132. </tr>
  2133. </thead>
  2134. <tbody>
  2135. <tr>
  2136. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  2137. <td><span class="parametername">key</span></td>
  2138. <td></td>
  2139. </tr>
  2140. </tbody>
  2141. </table>
  2142. <span class="small pull-right mobile-hide">
  2143. <span class="divider">|</span>
  2144. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ClearKeybindings.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ClearKeybindings%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2145. </span>
  2146. <span class="small pull-right mobile-hide">
  2147. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1802">View Source</a>
  2148. </span>
  2149. <a id="Terminal_Gui_View_ClearKeybindings_" data-uid="Terminal.Gui.View.ClearKeybindings*"></a>
  2150. <h4 id="Terminal_Gui_View_ClearKeybindings" data-uid="Terminal.Gui.View.ClearKeybindings">ClearKeybindings()</h4>
  2151. <div class="markdown level1 summary">
  2152. Removes all bound keys from the View making including the default
  2153. key combinations such as cursor navigation, scrolling etc
  2154. </div>
  2155. <div class="markdown level1 conceptual"></div>
  2156. <h5 class="decalaration">Declaration</h5>
  2157. <div class="codewrapper">
  2158. <pre><code class="lang-csharp hljs">public void ClearKeybindings()</code></pre>
  2159. </div>
  2160. <span class="small pull-right mobile-hide">
  2161. <span class="divider">|</span>
  2162. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ClearLayoutNeeded.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ClearLayoutNeeded%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2163. </span>
  2164. <span class="small pull-right mobile-hide">
  2165. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L877">View Source</a>
  2166. </span>
  2167. <a id="Terminal_Gui_View_ClearLayoutNeeded_" data-uid="Terminal.Gui.View.ClearLayoutNeeded*"></a>
  2168. <h4 id="Terminal_Gui_View_ClearLayoutNeeded" data-uid="Terminal.Gui.View.ClearLayoutNeeded">ClearLayoutNeeded()</h4>
  2169. <div class="markdown level1 summary">
  2170. Removes the <span class="xref">Terminal.Gui.View.SetNeedsLayout</span> setting on this view.
  2171. </div>
  2172. <div class="markdown level1 conceptual"></div>
  2173. <h5 class="decalaration">Declaration</h5>
  2174. <div class="codewrapper">
  2175. <pre><code class="lang-csharp hljs">protected void ClearLayoutNeeded()</code></pre>
  2176. </div>
  2177. <span class="small pull-right mobile-hide">
  2178. <span class="divider">|</span>
  2179. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ClearNeedsDisplay.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ClearNeedsDisplay%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2180. </span>
  2181. <span class="small pull-right mobile-hide">
  2182. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1474">View Source</a>
  2183. </span>
  2184. <a id="Terminal_Gui_View_ClearNeedsDisplay_" data-uid="Terminal.Gui.View.ClearNeedsDisplay*"></a>
  2185. <h4 id="Terminal_Gui_View_ClearNeedsDisplay" data-uid="Terminal.Gui.View.ClearNeedsDisplay">ClearNeedsDisplay()</h4>
  2186. <div class="markdown level1 summary">
  2187. Removes the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_SetNeedsDisplay">SetNeedsDisplay()</a> and the <span class="xref">Terminal.Gui.View.ChildNeedsDisplay</span> setting on this view.
  2188. </div>
  2189. <div class="markdown level1 conceptual"></div>
  2190. <h5 class="decalaration">Declaration</h5>
  2191. <div class="codewrapper">
  2192. <pre><code class="lang-csharp hljs">protected void ClearNeedsDisplay()</code></pre>
  2193. </div>
  2194. <span class="small pull-right mobile-hide">
  2195. <span class="divider">|</span>
  2196. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ClipToBounds.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ClipToBounds%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2197. </span>
  2198. <span class="small pull-right mobile-hide">
  2199. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1203">View Source</a>
  2200. </span>
  2201. <a id="Terminal_Gui_View_ClipToBounds_" data-uid="Terminal.Gui.View.ClipToBounds*"></a>
  2202. <h4 id="Terminal_Gui_View_ClipToBounds" data-uid="Terminal.Gui.View.ClipToBounds">ClipToBounds()</h4>
  2203. <div class="markdown level1 summary">
  2204. Sets the <a class="xref" href="Terminal.Gui.ConsoleDriver.html">ConsoleDriver</a>&apos;s clip region to the current View&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a>.
  2205. </div>
  2206. <div class="markdown level1 conceptual"></div>
  2207. <h5 class="decalaration">Declaration</h5>
  2208. <div class="codewrapper">
  2209. <pre><code class="lang-csharp hljs">public Rect ClipToBounds()</code></pre>
  2210. </div>
  2211. <h5 class="returns">Returns</h5>
  2212. <table class="table table-bordered table-striped table-condensed">
  2213. <thead>
  2214. <tr>
  2215. <th>Type</th>
  2216. <th>Description</th>
  2217. </tr>
  2218. </thead>
  2219. <tbody>
  2220. <tr>
  2221. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  2222. <td>The existing driver&apos;s clip region, which can be then re-applied by setting <code><a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Driver">Driver</a>.Clip</code> (<a class="xref" href="Terminal.Gui.ConsoleDriver.html#Terminal_Gui_ConsoleDriver_Clip">Clip</a>).</td>
  2223. </tr>
  2224. </tbody>
  2225. </table>
  2226. <span class="small pull-right mobile-hide">
  2227. <span class="divider">|</span>
  2228. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ContainsKeyBinding(Terminal.Gui.Key)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2229. </span>
  2230. <span class="small pull-right mobile-hide">
  2231. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1793">View Source</a>
  2232. </span>
  2233. <a id="Terminal_Gui_View_ContainsKeyBinding_" data-uid="Terminal.Gui.View.ContainsKeyBinding*"></a>
  2234. <h4 id="Terminal_Gui_View_ContainsKeyBinding_Terminal_Gui_Key_" data-uid="Terminal.Gui.View.ContainsKeyBinding(Terminal.Gui.Key)">ContainsKeyBinding(Key)</h4>
  2235. <div class="markdown level1 summary">
  2236. Checks if key combination already exist.
  2237. </div>
  2238. <div class="markdown level1 conceptual"></div>
  2239. <h5 class="decalaration">Declaration</h5>
  2240. <div class="codewrapper">
  2241. <pre><code class="lang-csharp hljs">public bool ContainsKeyBinding(Key key)</code></pre>
  2242. </div>
  2243. <h5 class="parameters">Parameters</h5>
  2244. <table class="table table-bordered table-striped table-condensed">
  2245. <thead>
  2246. <tr>
  2247. <th>Type</th>
  2248. <th>Name</th>
  2249. <th>Description</th>
  2250. </tr>
  2251. </thead>
  2252. <tbody>
  2253. <tr>
  2254. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  2255. <td><span class="parametername">key</span></td>
  2256. <td>The key to check.</td>
  2257. </tr>
  2258. </tbody>
  2259. </table>
  2260. <h5 class="returns">Returns</h5>
  2261. <table class="table table-bordered table-striped table-condensed">
  2262. <thead>
  2263. <tr>
  2264. <th>Type</th>
  2265. <th>Description</th>
  2266. </tr>
  2267. </thead>
  2268. <tbody>
  2269. <tr>
  2270. <td><span class="xref">System.Boolean</span></td>
  2271. <td><code>true</code> If the key already exist, <code>false</code>otherwise.</td>
  2272. </tr>
  2273. </tbody>
  2274. </table>
  2275. <span class="small pull-right mobile-hide">
  2276. <span class="divider">|</span>
  2277. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Dispose_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Dispose(System.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2278. </span>
  2279. <span class="small pull-right mobile-hide">
  2280. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2842">View Source</a>
  2281. </span>
  2282. <a id="Terminal_Gui_View_Dispose_" data-uid="Terminal.Gui.View.Dispose*"></a>
  2283. <h4 id="Terminal_Gui_View_Dispose_System_Boolean_" data-uid="Terminal.Gui.View.Dispose(System.Boolean)">Dispose(Boolean)</h4>
  2284. <div class="markdown level1 summary"></div>
  2285. <div class="markdown level1 conceptual"></div>
  2286. <h5 class="decalaration">Declaration</h5>
  2287. <div class="codewrapper">
  2288. <pre><code class="lang-csharp hljs">protected override void Dispose(bool disposing)</code></pre>
  2289. </div>
  2290. <h5 class="parameters">Parameters</h5>
  2291. <table class="table table-bordered table-striped table-condensed">
  2292. <thead>
  2293. <tr>
  2294. <th>Type</th>
  2295. <th>Name</th>
  2296. <th>Description</th>
  2297. </tr>
  2298. </thead>
  2299. <tbody>
  2300. <tr>
  2301. <td><span class="xref">System.Boolean</span></td>
  2302. <td><span class="parametername">disposing</span></td>
  2303. <td></td>
  2304. </tr>
  2305. </tbody>
  2306. </table>
  2307. <h5 class="overrides">Overrides</h5>
  2308. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_Dispose_System_Boolean_">Responder.Dispose(Boolean)</a></div>
  2309. <span class="small pull-right mobile-hide">
  2310. <span class="divider">|</span>
  2311. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.DrawFrame(Terminal.Gui.Rect%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2312. </span>
  2313. <span class="small pull-right mobile-hide">
  2314. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1226">View Source</a>
  2315. </span>
  2316. <a id="Terminal_Gui_View_DrawFrame_" data-uid="Terminal.Gui.View.DrawFrame*"></a>
  2317. <h4 id="Terminal_Gui_View_DrawFrame_Terminal_Gui_Rect_System_Int32_System_Boolean_" data-uid="Terminal.Gui.View.DrawFrame(Terminal.Gui.Rect,System.Int32,System.Boolean)">DrawFrame(Rect, Int32, Boolean)</h4>
  2318. <div class="markdown level1 summary">
  2319. Draws a frame in the current view, clipped by the boundary of this view
  2320. </div>
  2321. <div class="markdown level1 conceptual"></div>
  2322. <h5 class="decalaration">Declaration</h5>
  2323. <div class="codewrapper">
  2324. <pre><code class="lang-csharp hljs">public void DrawFrame(Rect region, int padding = 0, bool fill = false)</code></pre>
  2325. </div>
  2326. <h5 class="parameters">Parameters</h5>
  2327. <table class="table table-bordered table-striped table-condensed">
  2328. <thead>
  2329. <tr>
  2330. <th>Type</th>
  2331. <th>Name</th>
  2332. <th>Description</th>
  2333. </tr>
  2334. </thead>
  2335. <tbody>
  2336. <tr>
  2337. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  2338. <td><span class="parametername">region</span></td>
  2339. <td>View-relative region for the frame to be drawn.</td>
  2340. </tr>
  2341. <tr>
  2342. <td><span class="xref">System.Int32</span></td>
  2343. <td><span class="parametername">padding</span></td>
  2344. <td>The padding to add around the outside of the drawn frame.</td>
  2345. </tr>
  2346. <tr>
  2347. <td><span class="xref">System.Boolean</span></td>
  2348. <td><span class="parametername">fill</span></td>
  2349. <td>If set to <code>true</code> it fill will the contents.</td>
  2350. </tr>
  2351. </tbody>
  2352. </table>
  2353. <span class="small pull-right mobile-hide">
  2354. <span class="divider">|</span>
  2355. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.DrawHotString(NStack.ustring%2CSystem.Boolean%2CTerminal.Gui.ColorScheme)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2356. </span>
  2357. <span class="small pull-right mobile-hide">
  2358. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1264">View Source</a>
  2359. </span>
  2360. <a id="Terminal_Gui_View_DrawHotString_" data-uid="Terminal.Gui.View.DrawHotString*"></a>
  2361. <h4 id="Terminal_Gui_View_DrawHotString_NStack_ustring_System_Boolean_Terminal_Gui_ColorScheme_" data-uid="Terminal.Gui.View.DrawHotString(NStack.ustring,System.Boolean,Terminal.Gui.ColorScheme)">DrawHotString(ustring, Boolean, ColorScheme)</h4>
  2362. <div class="markdown level1 summary">
  2363. Utility function to draw strings that contains a hotkey using a <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">ColorScheme</a> and the &quot;focused&quot; state.
  2364. </div>
  2365. <div class="markdown level1 conceptual"></div>
  2366. <h5 class="decalaration">Declaration</h5>
  2367. <div class="codewrapper">
  2368. <pre><code class="lang-csharp hljs">public void DrawHotString(ustring text, bool focused, ColorScheme scheme)</code></pre>
  2369. </div>
  2370. <h5 class="parameters">Parameters</h5>
  2371. <table class="table table-bordered table-striped table-condensed">
  2372. <thead>
  2373. <tr>
  2374. <th>Type</th>
  2375. <th>Name</th>
  2376. <th>Description</th>
  2377. </tr>
  2378. </thead>
  2379. <tbody>
  2380. <tr>
  2381. <td><span class="xref">NStack.ustring</span></td>
  2382. <td><span class="parametername">text</span></td>
  2383. <td>String to display, the underscore before a letter flags the next letter as the hotkey.</td>
  2384. </tr>
  2385. <tr>
  2386. <td><span class="xref">System.Boolean</span></td>
  2387. <td><span class="parametername">focused</span></td>
  2388. <td>If set to <code>true</code> this uses the focused colors from the color scheme, otherwise the regular ones.</td>
  2389. </tr>
  2390. <tr>
  2391. <td><a class="xref" href="Terminal.Gui.ColorScheme.html">ColorScheme</a></td>
  2392. <td><span class="parametername">scheme</span></td>
  2393. <td>The color scheme to use.</td>
  2394. </tr>
  2395. </tbody>
  2396. </table>
  2397. <span class="small pull-right mobile-hide">
  2398. <span class="divider">|</span>
  2399. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_DrawHotString_NStack_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.DrawHotString(NStack.ustring%2CTerminal.Gui.Attribute%2CTerminal.Gui.Attribute)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2400. </span>
  2401. <span class="small pull-right mobile-hide">
  2402. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1244">View Source</a>
  2403. </span>
  2404. <a id="Terminal_Gui_View_DrawHotString_" data-uid="Terminal.Gui.View.DrawHotString*"></a>
  2405. <h4 id="Terminal_Gui_View_DrawHotString_NStack_ustring_Terminal_Gui_Attribute_Terminal_Gui_Attribute_" data-uid="Terminal.Gui.View.DrawHotString(NStack.ustring,Terminal.Gui.Attribute,Terminal.Gui.Attribute)">DrawHotString(ustring, Attribute, Attribute)</h4>
  2406. <div class="markdown level1 summary">
  2407. Utility function to draw strings that contain a hotkey.
  2408. </div>
  2409. <div class="markdown level1 conceptual"></div>
  2410. <h5 class="decalaration">Declaration</h5>
  2411. <div class="codewrapper">
  2412. <pre><code class="lang-csharp hljs">public void DrawHotString(ustring text, Attribute hotColor, Attribute normalColor)</code></pre>
  2413. </div>
  2414. <h5 class="parameters">Parameters</h5>
  2415. <table class="table table-bordered table-striped table-condensed">
  2416. <thead>
  2417. <tr>
  2418. <th>Type</th>
  2419. <th>Name</th>
  2420. <th>Description</th>
  2421. </tr>
  2422. </thead>
  2423. <tbody>
  2424. <tr>
  2425. <td><span class="xref">NStack.ustring</span></td>
  2426. <td><span class="parametername">text</span></td>
  2427. <td>String to display, the hotkey specifier before a letter flags the next letter as the hotkey.</td>
  2428. </tr>
  2429. <tr>
  2430. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  2431. <td><span class="parametername">hotColor</span></td>
  2432. <td>Hot color.</td>
  2433. </tr>
  2434. <tr>
  2435. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  2436. <td><span class="parametername">normalColor</span></td>
  2437. <td>Normal color.</td>
  2438. </tr>
  2439. </tbody>
  2440. </table>
  2441. <span class="small pull-right mobile-hide">
  2442. <span class="divider">|</span>
  2443. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_EndInit.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.EndInit%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2444. </span>
  2445. <span class="small pull-right mobile-hide">
  2446. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2873">View Source</a>
  2447. </span>
  2448. <a id="Terminal_Gui_View_EndInit_" data-uid="Terminal.Gui.View.EndInit*"></a>
  2449. <h4 id="Terminal_Gui_View_EndInit" data-uid="Terminal.Gui.View.EndInit">EndInit()</h4>
  2450. <div class="markdown level1 summary">
  2451. This derived from <span class="xref">System.ComponentModel.ISupportInitializeNotification</span> to allow notify all the views that are ending initialized.
  2452. </div>
  2453. <div class="markdown level1 conceptual"></div>
  2454. <h5 class="decalaration">Declaration</h5>
  2455. <div class="codewrapper">
  2456. <pre><code class="lang-csharp hljs">public void EndInit()</code></pre>
  2457. </div>
  2458. <span class="small pull-right mobile-hide">
  2459. <span class="divider">|</span>
  2460. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_EnsureFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.EnsureFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2461. </span>
  2462. <span class="small pull-right mobile-hide">
  2463. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1968">View Source</a>
  2464. </span>
  2465. <a id="Terminal_Gui_View_EnsureFocus_" data-uid="Terminal.Gui.View.EnsureFocus*"></a>
  2466. <h4 id="Terminal_Gui_View_EnsureFocus" data-uid="Terminal.Gui.View.EnsureFocus">EnsureFocus()</h4>
  2467. <div class="markdown level1 summary">
  2468. Finds the first view in the hierarchy that wants to get the focus if nothing is currently focused, otherwise, it does nothing.
  2469. </div>
  2470. <div class="markdown level1 conceptual"></div>
  2471. <h5 class="decalaration">Declaration</h5>
  2472. <div class="codewrapper">
  2473. <pre><code class="lang-csharp hljs">public void EnsureFocus()</code></pre>
  2474. </div>
  2475. <span class="small pull-right mobile-hide">
  2476. <span class="divider">|</span>
  2477. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_FocusFirst.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.FocusFirst%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2478. </span>
  2479. <span class="small pull-right mobile-hide">
  2480. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1982">View Source</a>
  2481. </span>
  2482. <a id="Terminal_Gui_View_FocusFirst_" data-uid="Terminal.Gui.View.FocusFirst*"></a>
  2483. <h4 id="Terminal_Gui_View_FocusFirst" data-uid="Terminal.Gui.View.FocusFirst">FocusFirst()</h4>
  2484. <div class="markdown level1 summary">
  2485. Focuses the first focusable subview if one exists.
  2486. </div>
  2487. <div class="markdown level1 conceptual"></div>
  2488. <h5 class="decalaration">Declaration</h5>
  2489. <div class="codewrapper">
  2490. <pre><code class="lang-csharp hljs">public void FocusFirst()</code></pre>
  2491. </div>
  2492. <span class="small pull-right mobile-hide">
  2493. <span class="divider">|</span>
  2494. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_FocusLast.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.FocusLast%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2495. </span>
  2496. <span class="small pull-right mobile-hide">
  2497. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2004">View Source</a>
  2498. </span>
  2499. <a id="Terminal_Gui_View_FocusLast_" data-uid="Terminal.Gui.View.FocusLast*"></a>
  2500. <h4 id="Terminal_Gui_View_FocusLast" data-uid="Terminal.Gui.View.FocusLast">FocusLast()</h4>
  2501. <div class="markdown level1 summary">
  2502. Focuses the last focusable subview if one exists.
  2503. </div>
  2504. <div class="markdown level1 conceptual"></div>
  2505. <h5 class="decalaration">Declaration</h5>
  2506. <div class="codewrapper">
  2507. <pre><code class="lang-csharp hljs">public void FocusLast()</code></pre>
  2508. </div>
  2509. <span class="small pull-right mobile-hide">
  2510. <span class="divider">|</span>
  2511. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_FocusNext.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.FocusNext%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2512. </span>
  2513. <span class="small pull-right mobile-hide">
  2514. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2076">View Source</a>
  2515. </span>
  2516. <a id="Terminal_Gui_View_FocusNext_" data-uid="Terminal.Gui.View.FocusNext*"></a>
  2517. <h4 id="Terminal_Gui_View_FocusNext" data-uid="Terminal.Gui.View.FocusNext">FocusNext()</h4>
  2518. <div class="markdown level1 summary">
  2519. Focuses the next view.
  2520. </div>
  2521. <div class="markdown level1 conceptual"></div>
  2522. <h5 class="decalaration">Declaration</h5>
  2523. <div class="codewrapper">
  2524. <pre><code class="lang-csharp hljs">public bool FocusNext()</code></pre>
  2525. </div>
  2526. <h5 class="returns">Returns</h5>
  2527. <table class="table table-bordered table-striped table-condensed">
  2528. <thead>
  2529. <tr>
  2530. <th>Type</th>
  2531. <th>Description</th>
  2532. </tr>
  2533. </thead>
  2534. <tbody>
  2535. <tr>
  2536. <td><span class="xref">System.Boolean</span></td>
  2537. <td><code>true</code>, if next was focused, <code>false</code> otherwise.</td>
  2538. </tr>
  2539. </tbody>
  2540. </table>
  2541. <span class="small pull-right mobile-hide">
  2542. <span class="divider">|</span>
  2543. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_FocusPrev.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.FocusPrev%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2544. </span>
  2545. <span class="small pull-right mobile-hide">
  2546. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2030">View Source</a>
  2547. </span>
  2548. <a id="Terminal_Gui_View_FocusPrev_" data-uid="Terminal.Gui.View.FocusPrev*"></a>
  2549. <h4 id="Terminal_Gui_View_FocusPrev" data-uid="Terminal.Gui.View.FocusPrev">FocusPrev()</h4>
  2550. <div class="markdown level1 summary">
  2551. Focuses the previous view.
  2552. </div>
  2553. <div class="markdown level1 conceptual"></div>
  2554. <h5 class="decalaration">Declaration</h5>
  2555. <div class="codewrapper">
  2556. <pre><code class="lang-csharp hljs">public bool FocusPrev()</code></pre>
  2557. </div>
  2558. <h5 class="returns">Returns</h5>
  2559. <table class="table table-bordered table-striped table-condensed">
  2560. <thead>
  2561. <tr>
  2562. <th>Type</th>
  2563. <th>Description</th>
  2564. </tr>
  2565. </thead>
  2566. <tbody>
  2567. <tr>
  2568. <td><span class="xref">System.Boolean</span></td>
  2569. <td><code>true</code>, if previous was focused, <code>false</code> otherwise.</td>
  2570. </tr>
  2571. </tbody>
  2572. </table>
  2573. <span class="small pull-right mobile-hide">
  2574. <span class="divider">|</span>
  2575. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetAutoSize.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetAutoSize%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2576. </span>
  2577. <span class="small pull-right mobile-hide">
  2578. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2651">View Source</a>
  2579. </span>
  2580. <a id="Terminal_Gui_View_GetAutoSize_" data-uid="Terminal.Gui.View.GetAutoSize*"></a>
  2581. <h4 id="Terminal_Gui_View_GetAutoSize" data-uid="Terminal.Gui.View.GetAutoSize">GetAutoSize()</h4>
  2582. <div class="markdown level1 summary">
  2583. Gets the size to fit all text if <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_AutoSize">AutoSize</a> is true.
  2584. </div>
  2585. <div class="markdown level1 conceptual"></div>
  2586. <h5 class="decalaration">Declaration</h5>
  2587. <div class="codewrapper">
  2588. <pre><code class="lang-csharp hljs">public Size GetAutoSize()</code></pre>
  2589. </div>
  2590. <h5 class="returns">Returns</h5>
  2591. <table class="table table-bordered table-striped table-condensed">
  2592. <thead>
  2593. <tr>
  2594. <th>Type</th>
  2595. <th>Description</th>
  2596. </tr>
  2597. </thead>
  2598. <tbody>
  2599. <tr>
  2600. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  2601. <td>The <a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  2602. </tr>
  2603. </tbody>
  2604. </table>
  2605. <span class="small pull-right mobile-hide">
  2606. <span class="divider">|</span>
  2607. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetBoundsTextFormatterSize.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetBoundsTextFormatterSize%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2608. </span>
  2609. <span class="small pull-right mobile-hide">
  2610. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2716">View Source</a>
  2611. </span>
  2612. <a id="Terminal_Gui_View_GetBoundsTextFormatterSize_" data-uid="Terminal.Gui.View.GetBoundsTextFormatterSize*"></a>
  2613. <h4 id="Terminal_Gui_View_GetBoundsTextFormatterSize" data-uid="Terminal.Gui.View.GetBoundsTextFormatterSize">GetBoundsTextFormatterSize()</h4>
  2614. <div class="markdown level1 summary">
  2615. Gets the text formatter size from a <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Bounds">Bounds</a> size.
  2616. </div>
  2617. <div class="markdown level1 conceptual"></div>
  2618. <h5 class="decalaration">Declaration</h5>
  2619. <div class="codewrapper">
  2620. <pre><code class="lang-csharp hljs">public Size GetBoundsTextFormatterSize()</code></pre>
  2621. </div>
  2622. <h5 class="returns">Returns</h5>
  2623. <table class="table table-bordered table-striped table-condensed">
  2624. <thead>
  2625. <tr>
  2626. <th>Type</th>
  2627. <th>Description</th>
  2628. </tr>
  2629. </thead>
  2630. <tbody>
  2631. <tr>
  2632. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  2633. <td>The text formatter size more the <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_HotKeySpecifier">HotKeySpecifier</a> length.</td>
  2634. </tr>
  2635. </tbody>
  2636. </table>
  2637. <span class="small pull-right mobile-hide">
  2638. <span class="divider">|</span>
  2639. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetCurrentHeight_System_Int32__.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetCurrentHeight(System.Int32%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2640. </span>
  2641. <span class="small pull-right mobile-hide">
  2642. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2988">View Source</a>
  2643. </span>
  2644. <a id="Terminal_Gui_View_GetCurrentHeight_" data-uid="Terminal.Gui.View.GetCurrentHeight*"></a>
  2645. <h4 id="Terminal_Gui_View_GetCurrentHeight_System_Int32__" data-uid="Terminal.Gui.View.GetCurrentHeight(System.Int32@)">GetCurrentHeight(out Int32)</h4>
  2646. <div class="markdown level1 summary">
  2647. Calculate the height based on the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">Height</a> settings.
  2648. </div>
  2649. <div class="markdown level1 conceptual"></div>
  2650. <h5 class="decalaration">Declaration</h5>
  2651. <div class="codewrapper">
  2652. <pre><code class="lang-csharp hljs">public bool GetCurrentHeight(out int currentHeight)</code></pre>
  2653. </div>
  2654. <h5 class="parameters">Parameters</h5>
  2655. <table class="table table-bordered table-striped table-condensed">
  2656. <thead>
  2657. <tr>
  2658. <th>Type</th>
  2659. <th>Name</th>
  2660. <th>Description</th>
  2661. </tr>
  2662. </thead>
  2663. <tbody>
  2664. <tr>
  2665. <td><span class="xref">System.Int32</span></td>
  2666. <td><span class="parametername">currentHeight</span></td>
  2667. <td>The real current height.</td>
  2668. </tr>
  2669. </tbody>
  2670. </table>
  2671. <h5 class="returns">Returns</h5>
  2672. <table class="table table-bordered table-striped table-condensed">
  2673. <thead>
  2674. <tr>
  2675. <th>Type</th>
  2676. <th>Description</th>
  2677. </tr>
  2678. </thead>
  2679. <tbody>
  2680. <tr>
  2681. <td><span class="xref">System.Boolean</span></td>
  2682. <td><code>true</code> if the height can be directly assigned, <code>false</code> otherwise.</td>
  2683. </tr>
  2684. </tbody>
  2685. </table>
  2686. <span class="small pull-right mobile-hide">
  2687. <span class="divider">|</span>
  2688. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetCurrentWidth_System_Int32__.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetCurrentWidth(System.Int32%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2689. </span>
  2690. <span class="small pull-right mobile-hide">
  2691. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2975">View Source</a>
  2692. </span>
  2693. <a id="Terminal_Gui_View_GetCurrentWidth_" data-uid="Terminal.Gui.View.GetCurrentWidth*"></a>
  2694. <h4 id="Terminal_Gui_View_GetCurrentWidth_System_Int32__" data-uid="Terminal.Gui.View.GetCurrentWidth(System.Int32@)">GetCurrentWidth(out Int32)</h4>
  2695. <div class="markdown level1 summary">
  2696. Gets the current width based on the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">Width</a> settings.
  2697. </div>
  2698. <div class="markdown level1 conceptual"></div>
  2699. <h5 class="decalaration">Declaration</h5>
  2700. <div class="codewrapper">
  2701. <pre><code class="lang-csharp hljs">public bool GetCurrentWidth(out int currentWidth)</code></pre>
  2702. </div>
  2703. <h5 class="parameters">Parameters</h5>
  2704. <table class="table table-bordered table-striped table-condensed">
  2705. <thead>
  2706. <tr>
  2707. <th>Type</th>
  2708. <th>Name</th>
  2709. <th>Description</th>
  2710. </tr>
  2711. </thead>
  2712. <tbody>
  2713. <tr>
  2714. <td><span class="xref">System.Int32</span></td>
  2715. <td><span class="parametername">currentWidth</span></td>
  2716. <td>The real current width.</td>
  2717. </tr>
  2718. </tbody>
  2719. </table>
  2720. <h5 class="returns">Returns</h5>
  2721. <table class="table table-bordered table-striped table-condensed">
  2722. <thead>
  2723. <tr>
  2724. <th>Type</th>
  2725. <th>Description</th>
  2726. </tr>
  2727. </thead>
  2728. <tbody>
  2729. <tr>
  2730. <td><span class="xref">System.Boolean</span></td>
  2731. <td><code>true</code> if the width can be directly assigned, <code>false</code> otherwise.</td>
  2732. </tr>
  2733. </tbody>
  2734. </table>
  2735. <span class="small pull-right mobile-hide">
  2736. <span class="divider">|</span>
  2737. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetHotKeySpecifierLength(System.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2738. </span>
  2739. <span class="small pull-right mobile-hide">
  2740. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2689">View Source</a>
  2741. </span>
  2742. <a id="Terminal_Gui_View_GetHotKeySpecifierLength_" data-uid="Terminal.Gui.View.GetHotKeySpecifierLength*"></a>
  2743. <h4 id="Terminal_Gui_View_GetHotKeySpecifierLength_System_Boolean_" data-uid="Terminal.Gui.View.GetHotKeySpecifierLength(System.Boolean)">GetHotKeySpecifierLength(Boolean)</h4>
  2744. <div class="markdown level1 summary">
  2745. Get the width or height of the <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_HotKeySpecifier">HotKeySpecifier</a> length.
  2746. </div>
  2747. <div class="markdown level1 conceptual"></div>
  2748. <h5 class="decalaration">Declaration</h5>
  2749. <div class="codewrapper">
  2750. <pre><code class="lang-csharp hljs">public int GetHotKeySpecifierLength(bool isWidth = true)</code></pre>
  2751. </div>
  2752. <h5 class="parameters">Parameters</h5>
  2753. <table class="table table-bordered table-striped table-condensed">
  2754. <thead>
  2755. <tr>
  2756. <th>Type</th>
  2757. <th>Name</th>
  2758. <th>Description</th>
  2759. </tr>
  2760. </thead>
  2761. <tbody>
  2762. <tr>
  2763. <td><span class="xref">System.Boolean</span></td>
  2764. <td><span class="parametername">isWidth</span></td>
  2765. <td><code>true</code>if is the width (default)<code>false</code>if is the height.</td>
  2766. </tr>
  2767. </tbody>
  2768. </table>
  2769. <h5 class="returns">Returns</h5>
  2770. <table class="table table-bordered table-striped table-condensed">
  2771. <thead>
  2772. <tr>
  2773. <th>Type</th>
  2774. <th>Description</th>
  2775. </tr>
  2776. </thead>
  2777. <tbody>
  2778. <tr>
  2779. <td><span class="xref">System.Int32</span></td>
  2780. <td>The length of the <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_HotKeySpecifier">HotKeySpecifier</a>.</td>
  2781. </tr>
  2782. </tbody>
  2783. </table>
  2784. <span class="small pull-right mobile-hide">
  2785. <span class="divider">|</span>
  2786. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command%5B%5D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2787. </span>
  2788. <span class="small pull-right mobile-hide">
  2789. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1863">View Source</a>
  2790. </span>
  2791. <a id="Terminal_Gui_View_GetKeyFromCommand_" data-uid="Terminal.Gui.View.GetKeyFromCommand*"></a>
  2792. <h4 id="Terminal_Gui_View_GetKeyFromCommand_Terminal_Gui_Command___" data-uid="Terminal.Gui.View.GetKeyFromCommand(Terminal.Gui.Command[])">GetKeyFromCommand(Command[])</h4>
  2793. <div class="markdown level1 summary">
  2794. Gets the key used by a command.
  2795. </div>
  2796. <div class="markdown level1 conceptual"></div>
  2797. <h5 class="decalaration">Declaration</h5>
  2798. <div class="codewrapper">
  2799. <pre><code class="lang-csharp hljs">public Key GetKeyFromCommand(params Command[] command)</code></pre>
  2800. </div>
  2801. <h5 class="parameters">Parameters</h5>
  2802. <table class="table table-bordered table-striped table-condensed">
  2803. <thead>
  2804. <tr>
  2805. <th>Type</th>
  2806. <th>Name</th>
  2807. <th>Description</th>
  2808. </tr>
  2809. </thead>
  2810. <tbody>
  2811. <tr>
  2812. <td><a class="xref" href="Terminal.Gui.Command.html">Command</a>[]</td>
  2813. <td><span class="parametername">command</span></td>
  2814. <td>The command to search.</td>
  2815. </tr>
  2816. </tbody>
  2817. </table>
  2818. <h5 class="returns">Returns</h5>
  2819. <table class="table table-bordered table-striped table-condensed">
  2820. <thead>
  2821. <tr>
  2822. <th>Type</th>
  2823. <th>Description</th>
  2824. </tr>
  2825. </thead>
  2826. <tbody>
  2827. <tr>
  2828. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  2829. <td>The <a class="xref" href="Terminal.Gui.Key.html">Key</a> used by a <a class="xref" href="Terminal.Gui.Command.html">Command</a></td>
  2830. </tr>
  2831. </tbody>
  2832. </table>
  2833. <span class="small pull-right mobile-hide">
  2834. <span class="divider">|</span>
  2835. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetMinWidthHeight(Terminal.Gui.Size%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2836. </span>
  2837. <span class="small pull-right mobile-hide">
  2838. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L638">View Source</a>
  2839. </span>
  2840. <a id="Terminal_Gui_View_GetMinWidthHeight_" data-uid="Terminal.Gui.View.GetMinWidthHeight*"></a>
  2841. <h4 id="Terminal_Gui_View_GetMinWidthHeight_Terminal_Gui_Size__" data-uid="Terminal.Gui.View.GetMinWidthHeight(Terminal.Gui.Size@)">GetMinWidthHeight(out Size)</h4>
  2842. <div class="markdown level1 summary">
  2843. Verifies if the minimum width or height can be sets in the view.
  2844. </div>
  2845. <div class="markdown level1 conceptual"></div>
  2846. <h5 class="decalaration">Declaration</h5>
  2847. <div class="codewrapper">
  2848. <pre><code class="lang-csharp hljs">public bool GetMinWidthHeight(out Size size)</code></pre>
  2849. </div>
  2850. <h5 class="parameters">Parameters</h5>
  2851. <table class="table table-bordered table-striped table-condensed">
  2852. <thead>
  2853. <tr>
  2854. <th>Type</th>
  2855. <th>Name</th>
  2856. <th>Description</th>
  2857. </tr>
  2858. </thead>
  2859. <tbody>
  2860. <tr>
  2861. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  2862. <td><span class="parametername">size</span></td>
  2863. <td>The size.</td>
  2864. </tr>
  2865. </tbody>
  2866. </table>
  2867. <h5 class="returns">Returns</h5>
  2868. <table class="table table-bordered table-striped table-condensed">
  2869. <thead>
  2870. <tr>
  2871. <th>Type</th>
  2872. <th>Description</th>
  2873. </tr>
  2874. </thead>
  2875. <tbody>
  2876. <tr>
  2877. <td><span class="xref">System.Boolean</span></td>
  2878. <td><span class="xref">true</span> if the size can be set, <span class="xref">false</span>otherwise.</td>
  2879. </tr>
  2880. </tbody>
  2881. </table>
  2882. <span class="small pull-right mobile-hide">
  2883. <span class="divider">|</span>
  2884. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetNormalColor.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetNormalColor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2885. </span>
  2886. <span class="small pull-right mobile-hide">
  2887. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L3002">View Source</a>
  2888. </span>
  2889. <a id="Terminal_Gui_View_GetNormalColor_" data-uid="Terminal.Gui.View.GetNormalColor*"></a>
  2890. <h4 id="Terminal_Gui_View_GetNormalColor" data-uid="Terminal.Gui.View.GetNormalColor">GetNormalColor()</h4>
  2891. <div class="markdown level1 summary">
  2892. Determines the current <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_ColorScheme">ColorScheme</a> based on the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">Enabled</a> value.
  2893. </div>
  2894. <div class="markdown level1 conceptual"></div>
  2895. <h5 class="decalaration">Declaration</h5>
  2896. <div class="codewrapper">
  2897. <pre><code class="lang-csharp hljs">public virtual Attribute GetNormalColor()</code></pre>
  2898. </div>
  2899. <h5 class="returns">Returns</h5>
  2900. <table class="table table-bordered table-striped table-condensed">
  2901. <thead>
  2902. <tr>
  2903. <th>Type</th>
  2904. <th>Description</th>
  2905. </tr>
  2906. </thead>
  2907. <tbody>
  2908. <tr>
  2909. <td><a class="xref" href="Terminal.Gui.Attribute.html">Attribute</a></td>
  2910. <td><a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Normal">Normal</a> if <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">Enabled</a> is <span class="xref">true</span>
  2911. or <a class="xref" href="Terminal.Gui.ColorScheme.html#Terminal_Gui_ColorScheme_Disabled">Disabled</a> if <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">Enabled</a> is <span class="xref">false</span>.
  2912. If it&apos;s overridden can return other values.</td>
  2913. </tr>
  2914. </tbody>
  2915. </table>
  2916. <span class="small pull-right mobile-hide">
  2917. <span class="divider">|</span>
  2918. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetSupportedCommands.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetSupportedCommands%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2919. </span>
  2920. <span class="small pull-right mobile-hide">
  2921. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1853">View Source</a>
  2922. </span>
  2923. <a id="Terminal_Gui_View_GetSupportedCommands_" data-uid="Terminal.Gui.View.GetSupportedCommands*"></a>
  2924. <h4 id="Terminal_Gui_View_GetSupportedCommands" data-uid="Terminal.Gui.View.GetSupportedCommands">GetSupportedCommands()</h4>
  2925. <div class="markdown level1 summary">
  2926. Returns all commands that are supported by this <a class="xref" href="Terminal.Gui.View.html">View</a>
  2927. </div>
  2928. <div class="markdown level1 conceptual"></div>
  2929. <h5 class="decalaration">Declaration</h5>
  2930. <div class="codewrapper">
  2931. <pre><code class="lang-csharp hljs">public IEnumerable&lt;Command&gt; GetSupportedCommands()</code></pre>
  2932. </div>
  2933. <h5 class="returns">Returns</h5>
  2934. <table class="table table-bordered table-striped table-condensed">
  2935. <thead>
  2936. <tr>
  2937. <th>Type</th>
  2938. <th>Description</th>
  2939. </tr>
  2940. </thead>
  2941. <tbody>
  2942. <tr>
  2943. <td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="Terminal.Gui.Command.html">Command</a>&gt;</td>
  2944. <td></td>
  2945. </tr>
  2946. </tbody>
  2947. </table>
  2948. <span class="small pull-right mobile-hide">
  2949. <span class="divider">|</span>
  2950. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetTextFormatterBoundsSize.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetTextFormatterBoundsSize%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2951. </span>
  2952. <span class="small pull-right mobile-hide">
  2953. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2706">View Source</a>
  2954. </span>
  2955. <a id="Terminal_Gui_View_GetTextFormatterBoundsSize_" data-uid="Terminal.Gui.View.GetTextFormatterBoundsSize*"></a>
  2956. <h4 id="Terminal_Gui_View_GetTextFormatterBoundsSize" data-uid="Terminal.Gui.View.GetTextFormatterBoundsSize">GetTextFormatterBoundsSize()</h4>
  2957. <div class="markdown level1 summary">
  2958. Gets the bounds size from a <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Size">Size</a>.
  2959. </div>
  2960. <div class="markdown level1 conceptual"></div>
  2961. <h5 class="decalaration">Declaration</h5>
  2962. <div class="codewrapper">
  2963. <pre><code class="lang-csharp hljs">public Size GetTextFormatterBoundsSize()</code></pre>
  2964. </div>
  2965. <h5 class="returns">Returns</h5>
  2966. <table class="table table-bordered table-striped table-condensed">
  2967. <thead>
  2968. <tr>
  2969. <th>Type</th>
  2970. <th>Description</th>
  2971. </tr>
  2972. </thead>
  2973. <tbody>
  2974. <tr>
  2975. <td><a class="xref" href="Terminal.Gui.Size.html">Size</a></td>
  2976. <td>The bounds size minus the <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_HotKeySpecifier">HotKeySpecifier</a> length.</td>
  2977. </tr>
  2978. </tbody>
  2979. </table>
  2980. <span class="small pull-right mobile-hide">
  2981. <span class="divider">|</span>
  2982. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_GetTopSuperView.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.GetTopSuperView%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  2983. </span>
  2984. <span class="small pull-right mobile-hide">
  2985. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L3011">View Source</a>
  2986. </span>
  2987. <a id="Terminal_Gui_View_GetTopSuperView_" data-uid="Terminal.Gui.View.GetTopSuperView*"></a>
  2988. <h4 id="Terminal_Gui_View_GetTopSuperView" data-uid="Terminal.Gui.View.GetTopSuperView">GetTopSuperView()</h4>
  2989. <div class="markdown level1 summary">
  2990. Get the top superview of a given <a class="xref" href="Terminal.Gui.View.html">View</a>.
  2991. </div>
  2992. <div class="markdown level1 conceptual"></div>
  2993. <h5 class="decalaration">Declaration</h5>
  2994. <div class="codewrapper">
  2995. <pre><code class="lang-csharp hljs">public View GetTopSuperView()</code></pre>
  2996. </div>
  2997. <h5 class="returns">Returns</h5>
  2998. <table class="table table-bordered table-striped table-condensed">
  2999. <thead>
  3000. <tr>
  3001. <th>Type</th>
  3002. <th>Description</th>
  3003. </tr>
  3004. </thead>
  3005. <tbody>
  3006. <tr>
  3007. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3008. <td>The superview view.</td>
  3009. </tr>
  3010. </tbody>
  3011. </table>
  3012. <span class="small pull-right mobile-hide">
  3013. <span class="divider">|</span>
  3014. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.InvokeKeybindings(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3015. </span>
  3016. <span class="small pull-right mobile-hide">
  3017. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1717">View Source</a>
  3018. </span>
  3019. <a id="Terminal_Gui_View_InvokeKeybindings_" data-uid="Terminal.Gui.View.InvokeKeybindings*"></a>
  3020. <h4 id="Terminal_Gui_View_InvokeKeybindings_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.View.InvokeKeybindings(Terminal.Gui.KeyEvent)">InvokeKeybindings(KeyEvent)</h4>
  3021. <div class="markdown level1 summary">
  3022. Invokes any binding that is registered on this <a class="xref" href="Terminal.Gui.View.html">View</a>
  3023. and matches the <code data-dev-comment-type="paramref" class="paramref">keyEvent</code>
  3024. </div>
  3025. <div class="markdown level1 conceptual"></div>
  3026. <h5 class="decalaration">Declaration</h5>
  3027. <div class="codewrapper">
  3028. <pre><code class="lang-csharp hljs">protected bool? InvokeKeybindings(KeyEvent keyEvent)</code></pre>
  3029. </div>
  3030. <h5 class="parameters">Parameters</h5>
  3031. <table class="table table-bordered table-striped table-condensed">
  3032. <thead>
  3033. <tr>
  3034. <th>Type</th>
  3035. <th>Name</th>
  3036. <th>Description</th>
  3037. </tr>
  3038. </thead>
  3039. <tbody>
  3040. <tr>
  3041. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  3042. <td><span class="parametername">keyEvent</span></td>
  3043. <td>The key event passed.</td>
  3044. </tr>
  3045. </tbody>
  3046. </table>
  3047. <h5 class="returns">Returns</h5>
  3048. <table class="table table-bordered table-striped table-condensed">
  3049. <thead>
  3050. <tr>
  3051. <th>Type</th>
  3052. <th>Description</th>
  3053. </tr>
  3054. </thead>
  3055. <tbody>
  3056. <tr>
  3057. <td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Boolean</span>&gt;</td>
  3058. <td></td>
  3059. </tr>
  3060. </tbody>
  3061. </table>
  3062. <span class="small pull-right mobile-hide">
  3063. <span class="divider">|</span>
  3064. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_LayoutSubviews.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.LayoutSubviews%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3065. </span>
  3066. <span class="small pull-right mobile-hide">
  3067. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2305">View Source</a>
  3068. </span>
  3069. <a id="Terminal_Gui_View_LayoutSubviews_" data-uid="Terminal.Gui.View.LayoutSubviews*"></a>
  3070. <h4 id="Terminal_Gui_View_LayoutSubviews" data-uid="Terminal.Gui.View.LayoutSubviews">LayoutSubviews()</h4>
  3071. <div class="markdown level1 summary">
  3072. Invoked when a view starts executing or when the dimensions of the view have changed, for example in
  3073. response to the container view or terminal resizing.
  3074. </div>
  3075. <div class="markdown level1 conceptual"></div>
  3076. <h5 class="decalaration">Declaration</h5>
  3077. <div class="codewrapper">
  3078. <pre><code class="lang-csharp hljs">public virtual void LayoutSubviews()</code></pre>
  3079. </div>
  3080. <span class="small pull-right mobile-hide">
  3081. <span class="divider">|</span>
  3082. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Move(System.Int32%2CSystem.Int32%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3083. </span>
  3084. <span class="small pull-right mobile-hide">
  3085. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1280">View Source</a>
  3086. </span>
  3087. <a id="Terminal_Gui_View_Move_" data-uid="Terminal.Gui.View.Move*"></a>
  3088. <h4 id="Terminal_Gui_View_Move_System_Int32_System_Int32_System_Boolean_" data-uid="Terminal.Gui.View.Move(System.Int32,System.Int32,System.Boolean)">Move(Int32, Int32, Boolean)</h4>
  3089. <div class="markdown level1 summary">
  3090. This moves the cursor to the specified column and row in the view.
  3091. </div>
  3092. <div class="markdown level1 conceptual"></div>
  3093. <h5 class="decalaration">Declaration</h5>
  3094. <div class="codewrapper">
  3095. <pre><code class="lang-csharp hljs">public void Move(int col, int row, bool clipped = true)</code></pre>
  3096. </div>
  3097. <h5 class="parameters">Parameters</h5>
  3098. <table class="table table-bordered table-striped table-condensed">
  3099. <thead>
  3100. <tr>
  3101. <th>Type</th>
  3102. <th>Name</th>
  3103. <th>Description</th>
  3104. </tr>
  3105. </thead>
  3106. <tbody>
  3107. <tr>
  3108. <td><span class="xref">System.Int32</span></td>
  3109. <td><span class="parametername">col</span></td>
  3110. <td>Col.</td>
  3111. </tr>
  3112. <tr>
  3113. <td><span class="xref">System.Int32</span></td>
  3114. <td><span class="parametername">row</span></td>
  3115. <td>Row.</td>
  3116. </tr>
  3117. <tr>
  3118. <td><span class="xref">System.Boolean</span></td>
  3119. <td><span class="parametername">clipped</span></td>
  3120. <td>Whether to clip the result of the ViewToScreen method,
  3121. if set to <code>true</code>, the col, row values are clamped to the screen (terminal) dimensions (0..TerminalDim-1).</td>
  3122. </tr>
  3123. </tbody>
  3124. </table>
  3125. <span class="small pull-right mobile-hide">
  3126. <span class="divider">|</span>
  3127. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnAdded_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnAdded(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3128. </span>
  3129. <span class="small pull-right mobile-hide">
  3130. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1367">View Source</a>
  3131. </span>
  3132. <a id="Terminal_Gui_View_OnAdded_" data-uid="Terminal.Gui.View.OnAdded*"></a>
  3133. <h4 id="Terminal_Gui_View_OnAdded_Terminal_Gui_View_" data-uid="Terminal.Gui.View.OnAdded(Terminal.Gui.View)">OnAdded(View)</h4>
  3134. <div class="markdown level1 summary">
  3135. Method invoked when a subview is being added to this view.
  3136. </div>
  3137. <div class="markdown level1 conceptual"></div>
  3138. <h5 class="decalaration">Declaration</h5>
  3139. <div class="codewrapper">
  3140. <pre><code class="lang-csharp hljs">public virtual void OnAdded(View view)</code></pre>
  3141. </div>
  3142. <h5 class="parameters">Parameters</h5>
  3143. <table class="table table-bordered table-striped table-condensed">
  3144. <thead>
  3145. <tr>
  3146. <th>Type</th>
  3147. <th>Name</th>
  3148. <th>Description</th>
  3149. </tr>
  3150. </thead>
  3151. <tbody>
  3152. <tr>
  3153. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3154. <td><span class="parametername">view</span></td>
  3155. <td>The subview being added.</td>
  3156. </tr>
  3157. </tbody>
  3158. </table>
  3159. <span class="small pull-right mobile-hide">
  3160. <span class="divider">|</span>
  3161. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnCanFocusChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnCanFocusChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3162. </span>
  3163. <span class="small pull-right mobile-hide">
  3164. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2833">View Source</a>
  3165. </span>
  3166. <a id="Terminal_Gui_View_OnCanFocusChanged_" data-uid="Terminal.Gui.View.OnCanFocusChanged*"></a>
  3167. <h4 id="Terminal_Gui_View_OnCanFocusChanged" data-uid="Terminal.Gui.View.OnCanFocusChanged">OnCanFocusChanged()</h4>
  3168. <div class="markdown level1 summary"></div>
  3169. <div class="markdown level1 conceptual"></div>
  3170. <h5 class="decalaration">Declaration</h5>
  3171. <div class="codewrapper">
  3172. <pre><code class="lang-csharp hljs">public override void OnCanFocusChanged()</code></pre>
  3173. </div>
  3174. <h5 class="overrides">Overrides</h5>
  3175. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnCanFocusChanged">Responder.OnCanFocusChanged()</a></div>
  3176. <span class="small pull-right mobile-hide">
  3177. <span class="divider">|</span>
  3178. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnDrawContent(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3179. </span>
  3180. <span class="small pull-right mobile-hide">
  3181. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1586">View Source</a>
  3182. </span>
  3183. <a id="Terminal_Gui_View_OnDrawContent_" data-uid="Terminal.Gui.View.OnDrawContent*"></a>
  3184. <h4 id="Terminal_Gui_View_OnDrawContent_Terminal_Gui_Rect_" data-uid="Terminal.Gui.View.OnDrawContent(Terminal.Gui.Rect)">OnDrawContent(Rect)</h4>
  3185. <div class="markdown level1 summary">
  3186. Enables overrides to draw infinitely scrolled content and/or a background behind added controls.
  3187. </div>
  3188. <div class="markdown level1 conceptual"></div>
  3189. <h5 class="decalaration">Declaration</h5>
  3190. <div class="codewrapper">
  3191. <pre><code class="lang-csharp hljs">public virtual void OnDrawContent(Rect viewport)</code></pre>
  3192. </div>
  3193. <h5 class="parameters">Parameters</h5>
  3194. <table class="table table-bordered table-striped table-condensed">
  3195. <thead>
  3196. <tr>
  3197. <th>Type</th>
  3198. <th>Name</th>
  3199. <th>Description</th>
  3200. </tr>
  3201. </thead>
  3202. <tbody>
  3203. <tr>
  3204. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  3205. <td><span class="parametername">viewport</span></td>
  3206. <td>The view-relative rectangle describing the currently visible viewport into the <a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3207. </tr>
  3208. </tbody>
  3209. </table>
  3210. <span class="small pull-right mobile-hide">
  3211. <span class="divider">|</span>
  3212. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnDrawContentComplete(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3213. </span>
  3214. <span class="small pull-right mobile-hide">
  3215. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1611">View Source</a>
  3216. </span>
  3217. <a id="Terminal_Gui_View_OnDrawContentComplete_" data-uid="Terminal.Gui.View.OnDrawContentComplete*"></a>
  3218. <h4 id="Terminal_Gui_View_OnDrawContentComplete_Terminal_Gui_Rect_" data-uid="Terminal.Gui.View.OnDrawContentComplete(Terminal.Gui.Rect)">OnDrawContentComplete(Rect)</h4>
  3219. <div class="markdown level1 summary">
  3220. Enables overrides after completed drawing infinitely scrolled content and/or a background behind removed controls.
  3221. </div>
  3222. <div class="markdown level1 conceptual"></div>
  3223. <h5 class="decalaration">Declaration</h5>
  3224. <div class="codewrapper">
  3225. <pre><code class="lang-csharp hljs">public virtual void OnDrawContentComplete(Rect viewport)</code></pre>
  3226. </div>
  3227. <h5 class="parameters">Parameters</h5>
  3228. <table class="table table-bordered table-striped table-condensed">
  3229. <thead>
  3230. <tr>
  3231. <th>Type</th>
  3232. <th>Name</th>
  3233. <th>Description</th>
  3234. </tr>
  3235. </thead>
  3236. <tbody>
  3237. <tr>
  3238. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  3239. <td><span class="parametername">viewport</span></td>
  3240. <td>The view-relative rectangle describing the currently visible viewport into the <a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3241. </tr>
  3242. </tbody>
  3243. </table>
  3244. <span class="small pull-right mobile-hide">
  3245. <span class="divider">|</span>
  3246. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnEnabledChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnEnabledChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3247. </span>
  3248. <span class="small pull-right mobile-hide">
  3249. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2836">View Source</a>
  3250. </span>
  3251. <a id="Terminal_Gui_View_OnEnabledChanged_" data-uid="Terminal.Gui.View.OnEnabledChanged*"></a>
  3252. <h4 id="Terminal_Gui_View_OnEnabledChanged" data-uid="Terminal.Gui.View.OnEnabledChanged">OnEnabledChanged()</h4>
  3253. <div class="markdown level1 summary"></div>
  3254. <div class="markdown level1 conceptual"></div>
  3255. <h5 class="decalaration">Declaration</h5>
  3256. <div class="codewrapper">
  3257. <pre><code class="lang-csharp hljs">public override void OnEnabledChanged()</code></pre>
  3258. </div>
  3259. <h5 class="overrides">Overrides</h5>
  3260. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnEnabledChanged">Responder.OnEnabledChanged()</a></div>
  3261. <span class="small pull-right mobile-hide">
  3262. <span class="divider">|</span>
  3263. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnEnter_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnEnter(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3264. </span>
  3265. <span class="small pull-right mobile-hide">
  3266. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1389">View Source</a>
  3267. </span>
  3268. <a id="Terminal_Gui_View_OnEnter_" data-uid="Terminal.Gui.View.OnEnter*"></a>
  3269. <h4 id="Terminal_Gui_View_OnEnter_Terminal_Gui_View_" data-uid="Terminal.Gui.View.OnEnter(Terminal.Gui.View)">OnEnter(View)</h4>
  3270. <div class="markdown level1 summary"></div>
  3271. <div class="markdown level1 conceptual"></div>
  3272. <h5 class="decalaration">Declaration</h5>
  3273. <div class="codewrapper">
  3274. <pre><code class="lang-csharp hljs">public override bool OnEnter(View view)</code></pre>
  3275. </div>
  3276. <h5 class="parameters">Parameters</h5>
  3277. <table class="table table-bordered table-striped table-condensed">
  3278. <thead>
  3279. <tr>
  3280. <th>Type</th>
  3281. <th>Name</th>
  3282. <th>Description</th>
  3283. </tr>
  3284. </thead>
  3285. <tbody>
  3286. <tr>
  3287. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3288. <td><span class="parametername">view</span></td>
  3289. <td></td>
  3290. </tr>
  3291. </tbody>
  3292. </table>
  3293. <h5 class="returns">Returns</h5>
  3294. <table class="table table-bordered table-striped table-condensed">
  3295. <thead>
  3296. <tr>
  3297. <th>Type</th>
  3298. <th>Description</th>
  3299. </tr>
  3300. </thead>
  3301. <tbody>
  3302. <tr>
  3303. <td><span class="xref">System.Boolean</span></td>
  3304. <td></td>
  3305. </tr>
  3306. </tbody>
  3307. </table>
  3308. <h5 class="overrides">Overrides</h5>
  3309. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnEnter_Terminal_Gui_View_">Responder.OnEnter(View)</a></div>
  3310. <span class="small pull-right mobile-hide">
  3311. <span class="divider">|</span>
  3312. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnKeyDown(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3313. </span>
  3314. <span class="small pull-right mobile-hide">
  3315. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1923">View Source</a>
  3316. </span>
  3317. <a id="Terminal_Gui_View_OnKeyDown_" data-uid="Terminal.Gui.View.OnKeyDown*"></a>
  3318. <h4 id="Terminal_Gui_View_OnKeyDown_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.View.OnKeyDown(Terminal.Gui.KeyEvent)">OnKeyDown(KeyEvent)</h4>
  3319. <div class="markdown level1 summary"></div>
  3320. <div class="markdown level1 conceptual"></div>
  3321. <h5 class="decalaration">Declaration</h5>
  3322. <div class="codewrapper">
  3323. <pre><code class="lang-csharp hljs">public override bool OnKeyDown(KeyEvent keyEvent)</code></pre>
  3324. </div>
  3325. <h5 class="parameters">Parameters</h5>
  3326. <table class="table table-bordered table-striped table-condensed">
  3327. <thead>
  3328. <tr>
  3329. <th>Type</th>
  3330. <th>Name</th>
  3331. <th>Description</th>
  3332. </tr>
  3333. </thead>
  3334. <tbody>
  3335. <tr>
  3336. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  3337. <td><span class="parametername">keyEvent</span></td>
  3338. <td></td>
  3339. </tr>
  3340. </tbody>
  3341. </table>
  3342. <h5 class="returns">Returns</h5>
  3343. <table class="table table-bordered table-striped table-condensed">
  3344. <thead>
  3345. <tr>
  3346. <th>Type</th>
  3347. <th>Description</th>
  3348. </tr>
  3349. </thead>
  3350. <tbody>
  3351. <tr>
  3352. <td><span class="xref">System.Boolean</span></td>
  3353. <td></td>
  3354. </tr>
  3355. </tbody>
  3356. </table>
  3357. <h5 class="overrides">Overrides</h5>
  3358. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnKeyDown_Terminal_Gui_KeyEvent_">Responder.OnKeyDown(KeyEvent)</a></div>
  3359. <span class="small pull-right mobile-hide">
  3360. <span class="divider">|</span>
  3361. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnKeyUp(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3362. </span>
  3363. <span class="small pull-right mobile-hide">
  3364. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1947">View Source</a>
  3365. </span>
  3366. <a id="Terminal_Gui_View_OnKeyUp_" data-uid="Terminal.Gui.View.OnKeyUp*"></a>
  3367. <h4 id="Terminal_Gui_View_OnKeyUp_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.View.OnKeyUp(Terminal.Gui.KeyEvent)">OnKeyUp(KeyEvent)</h4>
  3368. <div class="markdown level1 summary"></div>
  3369. <div class="markdown level1 conceptual"></div>
  3370. <h5 class="decalaration">Declaration</h5>
  3371. <div class="codewrapper">
  3372. <pre><code class="lang-csharp hljs">public override bool OnKeyUp(KeyEvent keyEvent)</code></pre>
  3373. </div>
  3374. <h5 class="parameters">Parameters</h5>
  3375. <table class="table table-bordered table-striped table-condensed">
  3376. <thead>
  3377. <tr>
  3378. <th>Type</th>
  3379. <th>Name</th>
  3380. <th>Description</th>
  3381. </tr>
  3382. </thead>
  3383. <tbody>
  3384. <tr>
  3385. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  3386. <td><span class="parametername">keyEvent</span></td>
  3387. <td></td>
  3388. </tr>
  3389. </tbody>
  3390. </table>
  3391. <h5 class="returns">Returns</h5>
  3392. <table class="table table-bordered table-striped table-condensed">
  3393. <thead>
  3394. <tr>
  3395. <th>Type</th>
  3396. <th>Description</th>
  3397. </tr>
  3398. </thead>
  3399. <tbody>
  3400. <tr>
  3401. <td><span class="xref">System.Boolean</span></td>
  3402. <td></td>
  3403. </tr>
  3404. </tbody>
  3405. </table>
  3406. <h5 class="overrides">Overrides</h5>
  3407. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnKeyUp_Terminal_Gui_KeyEvent_">Responder.OnKeyUp(KeyEvent)</a></div>
  3408. <span class="small pull-right mobile-hide">
  3409. <span class="divider">|</span>
  3410. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnLeave_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnLeave(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3411. </span>
  3412. <span class="small pull-right mobile-hide">
  3413. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1402">View Source</a>
  3414. </span>
  3415. <a id="Terminal_Gui_View_OnLeave_" data-uid="Terminal.Gui.View.OnLeave*"></a>
  3416. <h4 id="Terminal_Gui_View_OnLeave_Terminal_Gui_View_" data-uid="Terminal.Gui.View.OnLeave(Terminal.Gui.View)">OnLeave(View)</h4>
  3417. <div class="markdown level1 summary"></div>
  3418. <div class="markdown level1 conceptual"></div>
  3419. <h5 class="decalaration">Declaration</h5>
  3420. <div class="codewrapper">
  3421. <pre><code class="lang-csharp hljs">public override bool OnLeave(View view)</code></pre>
  3422. </div>
  3423. <h5 class="parameters">Parameters</h5>
  3424. <table class="table table-bordered table-striped table-condensed">
  3425. <thead>
  3426. <tr>
  3427. <th>Type</th>
  3428. <th>Name</th>
  3429. <th>Description</th>
  3430. </tr>
  3431. </thead>
  3432. <tbody>
  3433. <tr>
  3434. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3435. <td><span class="parametername">view</span></td>
  3436. <td></td>
  3437. </tr>
  3438. </tbody>
  3439. </table>
  3440. <h5 class="returns">Returns</h5>
  3441. <table class="table table-bordered table-striped table-condensed">
  3442. <thead>
  3443. <tr>
  3444. <th>Type</th>
  3445. <th>Description</th>
  3446. </tr>
  3447. </thead>
  3448. <tbody>
  3449. <tr>
  3450. <td><span class="xref">System.Boolean</span></td>
  3451. <td></td>
  3452. </tr>
  3453. </tbody>
  3454. </table>
  3455. <h5 class="overrides">Overrides</h5>
  3456. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnLeave_Terminal_Gui_View_">Responder.OnLeave(View)</a></div>
  3457. <span class="small pull-right mobile-hide">
  3458. <span class="divider">|</span>
  3459. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnMouseClick(Terminal.Gui.View.MouseEventArgs)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3460. </span>
  3461. <span class="small pull-right mobile-hide">
  3462. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2822">View Source</a>
  3463. </span>
  3464. <a id="Terminal_Gui_View_OnMouseClick_" data-uid="Terminal.Gui.View.OnMouseClick*"></a>
  3465. <h4 id="Terminal_Gui_View_OnMouseClick_Terminal_Gui_View_MouseEventArgs_" data-uid="Terminal.Gui.View.OnMouseClick(Terminal.Gui.View.MouseEventArgs)">OnMouseClick(View.MouseEventArgs)</h4>
  3466. <div class="markdown level1 summary">
  3467. Invokes the MouseClick event.
  3468. </div>
  3469. <div class="markdown level1 conceptual"></div>
  3470. <h5 class="decalaration">Declaration</h5>
  3471. <div class="codewrapper">
  3472. <pre><code class="lang-csharp hljs">protected bool OnMouseClick(View.MouseEventArgs args)</code></pre>
  3473. </div>
  3474. <h5 class="parameters">Parameters</h5>
  3475. <table class="table table-bordered table-striped table-condensed">
  3476. <thead>
  3477. <tr>
  3478. <th>Type</th>
  3479. <th>Name</th>
  3480. <th>Description</th>
  3481. </tr>
  3482. </thead>
  3483. <tbody>
  3484. <tr>
  3485. <td><a class="xref" href="Terminal.Gui.View.MouseEventArgs.html">View.MouseEventArgs</a></td>
  3486. <td><span class="parametername">args</span></td>
  3487. <td></td>
  3488. </tr>
  3489. </tbody>
  3490. </table>
  3491. <h5 class="returns">Returns</h5>
  3492. <table class="table table-bordered table-striped table-condensed">
  3493. <thead>
  3494. <tr>
  3495. <th>Type</th>
  3496. <th>Description</th>
  3497. </tr>
  3498. </thead>
  3499. <tbody>
  3500. <tr>
  3501. <td><span class="xref">System.Boolean</span></td>
  3502. <td></td>
  3503. </tr>
  3504. </tbody>
  3505. </table>
  3506. <span class="small pull-right mobile-hide">
  3507. <span class="divider">|</span>
  3508. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnMouseEnter(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3509. </span>
  3510. <span class="small pull-right mobile-hide">
  3511. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2746">View Source</a>
  3512. </span>
  3513. <a id="Terminal_Gui_View_OnMouseEnter_" data-uid="Terminal.Gui.View.OnMouseEnter*"></a>
  3514. <h4 id="Terminal_Gui_View_OnMouseEnter_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.View.OnMouseEnter(Terminal.Gui.MouseEvent)">OnMouseEnter(MouseEvent)</h4>
  3515. <div class="markdown level1 summary"></div>
  3516. <div class="markdown level1 conceptual"></div>
  3517. <h5 class="decalaration">Declaration</h5>
  3518. <div class="codewrapper">
  3519. <pre><code class="lang-csharp hljs">public override bool OnMouseEnter(MouseEvent mouseEvent)</code></pre>
  3520. </div>
  3521. <h5 class="parameters">Parameters</h5>
  3522. <table class="table table-bordered table-striped table-condensed">
  3523. <thead>
  3524. <tr>
  3525. <th>Type</th>
  3526. <th>Name</th>
  3527. <th>Description</th>
  3528. </tr>
  3529. </thead>
  3530. <tbody>
  3531. <tr>
  3532. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  3533. <td><span class="parametername">mouseEvent</span></td>
  3534. <td></td>
  3535. </tr>
  3536. </tbody>
  3537. </table>
  3538. <h5 class="returns">Returns</h5>
  3539. <table class="table table-bordered table-striped table-condensed">
  3540. <thead>
  3541. <tr>
  3542. <th>Type</th>
  3543. <th>Description</th>
  3544. </tr>
  3545. </thead>
  3546. <tbody>
  3547. <tr>
  3548. <td><span class="xref">System.Boolean</span></td>
  3549. <td></td>
  3550. </tr>
  3551. </tbody>
  3552. </table>
  3553. <h5 class="overrides">Overrides</h5>
  3554. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnMouseEnter_Terminal_Gui_MouseEvent_">Responder.OnMouseEnter(MouseEvent)</a></div>
  3555. <span class="small pull-right mobile-hide">
  3556. <span class="divider">|</span>
  3557. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnMouseEvent(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3558. </span>
  3559. <span class="small pull-right mobile-hide">
  3560. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2792">View Source</a>
  3561. </span>
  3562. <a id="Terminal_Gui_View_OnMouseEvent_" data-uid="Terminal.Gui.View.OnMouseEvent*"></a>
  3563. <h4 id="Terminal_Gui_View_OnMouseEvent_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.View.OnMouseEvent(Terminal.Gui.MouseEvent)">OnMouseEvent(MouseEvent)</h4>
  3564. <div class="markdown level1 summary">
  3565. Method invoked when a mouse event is generated
  3566. </div>
  3567. <div class="markdown level1 conceptual"></div>
  3568. <h5 class="decalaration">Declaration</h5>
  3569. <div class="codewrapper">
  3570. <pre><code class="lang-csharp hljs">public virtual bool OnMouseEvent(MouseEvent mouseEvent)</code></pre>
  3571. </div>
  3572. <h5 class="parameters">Parameters</h5>
  3573. <table class="table table-bordered table-striped table-condensed">
  3574. <thead>
  3575. <tr>
  3576. <th>Type</th>
  3577. <th>Name</th>
  3578. <th>Description</th>
  3579. </tr>
  3580. </thead>
  3581. <tbody>
  3582. <tr>
  3583. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  3584. <td><span class="parametername">mouseEvent</span></td>
  3585. <td></td>
  3586. </tr>
  3587. </tbody>
  3588. </table>
  3589. <h5 class="returns">Returns</h5>
  3590. <table class="table table-bordered table-striped table-condensed">
  3591. <thead>
  3592. <tr>
  3593. <th>Type</th>
  3594. <th>Description</th>
  3595. </tr>
  3596. </thead>
  3597. <tbody>
  3598. <tr>
  3599. <td><span class="xref">System.Boolean</span></td>
  3600. <td><code>true</code>, if the event was handled, <code>false</code> otherwise.</td>
  3601. </tr>
  3602. </tbody>
  3603. </table>
  3604. <span class="small pull-right mobile-hide">
  3605. <span class="divider">|</span>
  3606. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnMouseLeave(Terminal.Gui.MouseEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3607. </span>
  3608. <span class="small pull-right mobile-hide">
  3609. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2767">View Source</a>
  3610. </span>
  3611. <a id="Terminal_Gui_View_OnMouseLeave_" data-uid="Terminal.Gui.View.OnMouseLeave*"></a>
  3612. <h4 id="Terminal_Gui_View_OnMouseLeave_Terminal_Gui_MouseEvent_" data-uid="Terminal.Gui.View.OnMouseLeave(Terminal.Gui.MouseEvent)">OnMouseLeave(MouseEvent)</h4>
  3613. <div class="markdown level1 summary"></div>
  3614. <div class="markdown level1 conceptual"></div>
  3615. <h5 class="decalaration">Declaration</h5>
  3616. <div class="codewrapper">
  3617. <pre><code class="lang-csharp hljs">public override bool OnMouseLeave(MouseEvent mouseEvent)</code></pre>
  3618. </div>
  3619. <h5 class="parameters">Parameters</h5>
  3620. <table class="table table-bordered table-striped table-condensed">
  3621. <thead>
  3622. <tr>
  3623. <th>Type</th>
  3624. <th>Name</th>
  3625. <th>Description</th>
  3626. </tr>
  3627. </thead>
  3628. <tbody>
  3629. <tr>
  3630. <td><a class="xref" href="Terminal.Gui.MouseEvent.html">MouseEvent</a></td>
  3631. <td><span class="parametername">mouseEvent</span></td>
  3632. <td></td>
  3633. </tr>
  3634. </tbody>
  3635. </table>
  3636. <h5 class="returns">Returns</h5>
  3637. <table class="table table-bordered table-striped table-condensed">
  3638. <thead>
  3639. <tr>
  3640. <th>Type</th>
  3641. <th>Description</th>
  3642. </tr>
  3643. </thead>
  3644. <tbody>
  3645. <tr>
  3646. <td><span class="xref">System.Boolean</span></td>
  3647. <td></td>
  3648. </tr>
  3649. </tbody>
  3650. </table>
  3651. <h5 class="overrides">Overrides</h5>
  3652. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnMouseLeave_Terminal_Gui_MouseEvent_">Responder.OnMouseLeave(MouseEvent)</a></div>
  3653. <span class="small pull-right mobile-hide">
  3654. <span class="divider">|</span>
  3655. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnRemoved_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnRemoved(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3656. </span>
  3657. <span class="small pull-right mobile-hide">
  3658. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1382">View Source</a>
  3659. </span>
  3660. <a id="Terminal_Gui_View_OnRemoved_" data-uid="Terminal.Gui.View.OnRemoved*"></a>
  3661. <h4 id="Terminal_Gui_View_OnRemoved_Terminal_Gui_View_" data-uid="Terminal.Gui.View.OnRemoved(Terminal.Gui.View)">OnRemoved(View)</h4>
  3662. <div class="markdown level1 summary">
  3663. Method invoked when a subview is being removed from this view.
  3664. </div>
  3665. <div class="markdown level1 conceptual"></div>
  3666. <h5 class="decalaration">Declaration</h5>
  3667. <div class="codewrapper">
  3668. <pre><code class="lang-csharp hljs">public virtual void OnRemoved(View view)</code></pre>
  3669. </div>
  3670. <h5 class="parameters">Parameters</h5>
  3671. <table class="table table-bordered table-striped table-condensed">
  3672. <thead>
  3673. <tr>
  3674. <th>Type</th>
  3675. <th>Name</th>
  3676. <th>Description</th>
  3677. </tr>
  3678. </thead>
  3679. <tbody>
  3680. <tr>
  3681. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3682. <td><span class="parametername">view</span></td>
  3683. <td>The subview being removed.</td>
  3684. </tr>
  3685. </tbody>
  3686. </table>
  3687. <span class="small pull-right mobile-hide">
  3688. <span class="divider">|</span>
  3689. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_OnVisibleChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.OnVisibleChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3690. </span>
  3691. <span class="small pull-right mobile-hide">
  3692. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2839">View Source</a>
  3693. </span>
  3694. <a id="Terminal_Gui_View_OnVisibleChanged_" data-uid="Terminal.Gui.View.OnVisibleChanged*"></a>
  3695. <h4 id="Terminal_Gui_View_OnVisibleChanged" data-uid="Terminal.Gui.View.OnVisibleChanged">OnVisibleChanged()</h4>
  3696. <div class="markdown level1 summary"></div>
  3697. <div class="markdown level1 conceptual"></div>
  3698. <h5 class="decalaration">Declaration</h5>
  3699. <div class="codewrapper">
  3700. <pre><code class="lang-csharp hljs">public override void OnVisibleChanged()</code></pre>
  3701. </div>
  3702. <h5 class="overrides">Overrides</h5>
  3703. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_OnVisibleChanged">Responder.OnVisibleChanged()</a></div>
  3704. <span class="small pull-right mobile-hide">
  3705. <span class="divider">|</span>
  3706. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_PositionCursor.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.PositionCursor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3707. </span>
  3708. <span class="small pull-right mobile-hide">
  3709. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1298">View Source</a>
  3710. </span>
  3711. <a id="Terminal_Gui_View_PositionCursor_" data-uid="Terminal.Gui.View.PositionCursor*"></a>
  3712. <h4 id="Terminal_Gui_View_PositionCursor" data-uid="Terminal.Gui.View.PositionCursor">PositionCursor()</h4>
  3713. <div class="markdown level1 summary">
  3714. Positions the cursor in the right position based on the currently focused view in the chain.
  3715. </div>
  3716. <div class="markdown level1 conceptual"></div>
  3717. <h5 class="decalaration">Declaration</h5>
  3718. <div class="codewrapper">
  3719. <pre><code class="lang-csharp hljs">public virtual void PositionCursor()</code></pre>
  3720. </div>
  3721. <span class="small pull-right mobile-hide">
  3722. <span class="divider">|</span>
  3723. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ProcessColdKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3724. </span>
  3725. <span class="small pull-right mobile-hide">
  3726. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1892">View Source</a>
  3727. </span>
  3728. <a id="Terminal_Gui_View_ProcessColdKey_" data-uid="Terminal.Gui.View.ProcessColdKey*"></a>
  3729. <h4 id="Terminal_Gui_View_ProcessColdKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.View.ProcessColdKey(Terminal.Gui.KeyEvent)">ProcessColdKey(KeyEvent)</h4>
  3730. <div class="markdown level1 summary"></div>
  3731. <div class="markdown level1 conceptual"></div>
  3732. <h5 class="decalaration">Declaration</h5>
  3733. <div class="codewrapper">
  3734. <pre><code class="lang-csharp hljs">public override bool ProcessColdKey(KeyEvent keyEvent)</code></pre>
  3735. </div>
  3736. <h5 class="parameters">Parameters</h5>
  3737. <table class="table table-bordered table-striped table-condensed">
  3738. <thead>
  3739. <tr>
  3740. <th>Type</th>
  3741. <th>Name</th>
  3742. <th>Description</th>
  3743. </tr>
  3744. </thead>
  3745. <tbody>
  3746. <tr>
  3747. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  3748. <td><span class="parametername">keyEvent</span></td>
  3749. <td></td>
  3750. </tr>
  3751. </tbody>
  3752. </table>
  3753. <h5 class="returns">Returns</h5>
  3754. <table class="table table-bordered table-striped table-condensed">
  3755. <thead>
  3756. <tr>
  3757. <th>Type</th>
  3758. <th>Description</th>
  3759. </tr>
  3760. </thead>
  3761. <tbody>
  3762. <tr>
  3763. <td><span class="xref">System.Boolean</span></td>
  3764. <td></td>
  3765. </tr>
  3766. </tbody>
  3767. </table>
  3768. <h5 class="overrides">Overrides</h5>
  3769. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_ProcessColdKey_Terminal_Gui_KeyEvent_">Responder.ProcessColdKey(KeyEvent)</a></div>
  3770. <span class="small pull-right mobile-hide">
  3771. <span class="divider">|</span>
  3772. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ProcessHotKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3773. </span>
  3774. <span class="small pull-right mobile-hide">
  3775. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1869">View Source</a>
  3776. </span>
  3777. <a id="Terminal_Gui_View_ProcessHotKey_" data-uid="Terminal.Gui.View.ProcessHotKey*"></a>
  3778. <h4 id="Terminal_Gui_View_ProcessHotKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.View.ProcessHotKey(Terminal.Gui.KeyEvent)">ProcessHotKey(KeyEvent)</h4>
  3779. <div class="markdown level1 summary"></div>
  3780. <div class="markdown level1 conceptual"></div>
  3781. <h5 class="decalaration">Declaration</h5>
  3782. <div class="codewrapper">
  3783. <pre><code class="lang-csharp hljs">public override bool ProcessHotKey(KeyEvent keyEvent)</code></pre>
  3784. </div>
  3785. <h5 class="parameters">Parameters</h5>
  3786. <table class="table table-bordered table-striped table-condensed">
  3787. <thead>
  3788. <tr>
  3789. <th>Type</th>
  3790. <th>Name</th>
  3791. <th>Description</th>
  3792. </tr>
  3793. </thead>
  3794. <tbody>
  3795. <tr>
  3796. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  3797. <td><span class="parametername">keyEvent</span></td>
  3798. <td></td>
  3799. </tr>
  3800. </tbody>
  3801. </table>
  3802. <h5 class="returns">Returns</h5>
  3803. <table class="table table-bordered table-striped table-condensed">
  3804. <thead>
  3805. <tr>
  3806. <th>Type</th>
  3807. <th>Description</th>
  3808. </tr>
  3809. </thead>
  3810. <tbody>
  3811. <tr>
  3812. <td><span class="xref">System.Boolean</span></td>
  3813. <td></td>
  3814. </tr>
  3815. </tbody>
  3816. </table>
  3817. <h5 class="overrides">Overrides</h5>
  3818. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_ProcessHotKey_Terminal_Gui_KeyEvent_">Responder.ProcessHotKey(KeyEvent)</a></div>
  3819. <span class="small pull-right mobile-hide">
  3820. <span class="divider">|</span>
  3821. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ProcessKey(Terminal.Gui.KeyEvent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3822. </span>
  3823. <span class="small pull-right mobile-hide">
  3824. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1691">View Source</a>
  3825. </span>
  3826. <a id="Terminal_Gui_View_ProcessKey_" data-uid="Terminal.Gui.View.ProcessKey*"></a>
  3827. <h4 id="Terminal_Gui_View_ProcessKey_Terminal_Gui_KeyEvent_" data-uid="Terminal.Gui.View.ProcessKey(Terminal.Gui.KeyEvent)">ProcessKey(KeyEvent)</h4>
  3828. <div class="markdown level1 summary"></div>
  3829. <div class="markdown level1 conceptual"></div>
  3830. <h5 class="decalaration">Declaration</h5>
  3831. <div class="codewrapper">
  3832. <pre><code class="lang-csharp hljs">public override bool ProcessKey(KeyEvent keyEvent)</code></pre>
  3833. </div>
  3834. <h5 class="parameters">Parameters</h5>
  3835. <table class="table table-bordered table-striped table-condensed">
  3836. <thead>
  3837. <tr>
  3838. <th>Type</th>
  3839. <th>Name</th>
  3840. <th>Description</th>
  3841. </tr>
  3842. </thead>
  3843. <tbody>
  3844. <tr>
  3845. <td><a class="xref" href="Terminal.Gui.KeyEvent.html">KeyEvent</a></td>
  3846. <td><span class="parametername">keyEvent</span></td>
  3847. <td></td>
  3848. </tr>
  3849. </tbody>
  3850. </table>
  3851. <h5 class="returns">Returns</h5>
  3852. <table class="table table-bordered table-striped table-condensed">
  3853. <thead>
  3854. <tr>
  3855. <th>Type</th>
  3856. <th>Description</th>
  3857. </tr>
  3858. </thead>
  3859. <tbody>
  3860. <tr>
  3861. <td><span class="xref">System.Boolean</span></td>
  3862. <td></td>
  3863. </tr>
  3864. </tbody>
  3865. </table>
  3866. <h5 class="overrides">Overrides</h5>
  3867. <div><a class="xref" href="Terminal.Gui.Responder.html#Terminal_Gui_Responder_ProcessKey_Terminal_Gui_KeyEvent_">Responder.ProcessKey(KeyEvent)</a></div>
  3868. <span class="small pull-right mobile-hide">
  3869. <span class="divider">|</span>
  3870. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ProcessResizeView.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ProcessResizeView%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3871. </span>
  3872. <span class="small pull-right mobile-hide">
  3873. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L824">View Source</a>
  3874. </span>
  3875. <a id="Terminal_Gui_View_ProcessResizeView_" data-uid="Terminal.Gui.View.ProcessResizeView*"></a>
  3876. <h4 id="Terminal_Gui_View_ProcessResizeView" data-uid="Terminal.Gui.View.ProcessResizeView">ProcessResizeView()</h4>
  3877. <div class="markdown level1 summary">
  3878. Can be overridden if the view resize behavior is
  3879. different than the default.
  3880. </div>
  3881. <div class="markdown level1 conceptual"></div>
  3882. <h5 class="decalaration">Declaration</h5>
  3883. <div class="codewrapper">
  3884. <pre><code class="lang-csharp hljs">protected virtual void ProcessResizeView()</code></pre>
  3885. </div>
  3886. <span class="small pull-right mobile-hide">
  3887. <span class="divider">|</span>
  3888. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Redraw_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Redraw(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3889. </span>
  3890. <span class="small pull-right mobile-hide">
  3891. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1497">View Source</a>
  3892. </span>
  3893. <a id="Terminal_Gui_View_Redraw_" data-uid="Terminal.Gui.View.Redraw*"></a>
  3894. <h4 id="Terminal_Gui_View_Redraw_Terminal_Gui_Rect_" data-uid="Terminal.Gui.View.Redraw(Terminal.Gui.Rect)">Redraw(Rect)</h4>
  3895. <div class="markdown level1 summary">
  3896. Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.
  3897. </div>
  3898. <div class="markdown level1 conceptual"></div>
  3899. <h5 class="decalaration">Declaration</h5>
  3900. <div class="codewrapper">
  3901. <pre><code class="lang-csharp hljs">public virtual void Redraw(Rect bounds)</code></pre>
  3902. </div>
  3903. <h5 class="parameters">Parameters</h5>
  3904. <table class="table table-bordered table-striped table-condensed">
  3905. <thead>
  3906. <tr>
  3907. <th>Type</th>
  3908. <th>Name</th>
  3909. <th>Description</th>
  3910. </tr>
  3911. </thead>
  3912. <tbody>
  3913. <tr>
  3914. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  3915. <td><span class="parametername">bounds</span></td>
  3916. <td>The bounds (view-relative region) to redraw.</td>
  3917. </tr>
  3918. </tbody>
  3919. </table>
  3920. <span class="small pull-right mobile-hide">
  3921. <span class="divider">|</span>
  3922. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Remove_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Remove(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3923. </span>
  3924. <span class="small pull-right mobile-hide">
  3925. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L996">View Source</a>
  3926. </span>
  3927. <a id="Terminal_Gui_View_Remove_" data-uid="Terminal.Gui.View.Remove*"></a>
  3928. <h4 id="Terminal_Gui_View_Remove_Terminal_Gui_View_" data-uid="Terminal.Gui.View.Remove(Terminal.Gui.View)">Remove(View)</h4>
  3929. <div class="markdown level1 summary">
  3930. Removes a subview added via <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">Add(View)</a> or <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">Add(View[])</a> from this View.
  3931. </div>
  3932. <div class="markdown level1 conceptual"></div>
  3933. <h5 class="decalaration">Declaration</h5>
  3934. <div class="codewrapper">
  3935. <pre><code class="lang-csharp hljs">public virtual void Remove(View view)</code></pre>
  3936. </div>
  3937. <h5 class="parameters">Parameters</h5>
  3938. <table class="table table-bordered table-striped table-condensed">
  3939. <thead>
  3940. <tr>
  3941. <th>Type</th>
  3942. <th>Name</th>
  3943. <th>Description</th>
  3944. </tr>
  3945. </thead>
  3946. <tbody>
  3947. <tr>
  3948. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  3949. <td><span class="parametername">view</span></td>
  3950. <td></td>
  3951. </tr>
  3952. </tbody>
  3953. </table>
  3954. <span class="small pull-right mobile-hide">
  3955. <span class="divider">|</span>
  3956. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_RemoveAll.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.RemoveAll%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3957. </span>
  3958. <span class="small pull-right mobile-hide">
  3959. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L981">View Source</a>
  3960. </span>
  3961. <a id="Terminal_Gui_View_RemoveAll_" data-uid="Terminal.Gui.View.RemoveAll*"></a>
  3962. <h4 id="Terminal_Gui_View_RemoveAll" data-uid="Terminal.Gui.View.RemoveAll">RemoveAll()</h4>
  3963. <div class="markdown level1 summary">
  3964. Removes all subviews (children) added via <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View_">Add(View)</a> or <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Add_Terminal_Gui_View___">Add(View[])</a> from this View.
  3965. </div>
  3966. <div class="markdown level1 conceptual"></div>
  3967. <h5 class="decalaration">Declaration</h5>
  3968. <div class="codewrapper">
  3969. <pre><code class="lang-csharp hljs">public virtual void RemoveAll()</code></pre>
  3970. </div>
  3971. <span class="small pull-right mobile-hide">
  3972. <span class="divider">|</span>
  3973. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ReplaceKeyBinding(Terminal.Gui.Key%2CTerminal.Gui.Key)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  3974. </span>
  3975. <span class="small pull-right mobile-hide">
  3976. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1779">View Source</a>
  3977. </span>
  3978. <a id="Terminal_Gui_View_ReplaceKeyBinding_" data-uid="Terminal.Gui.View.ReplaceKeyBinding*"></a>
  3979. <h4 id="Terminal_Gui_View_ReplaceKeyBinding_Terminal_Gui_Key_Terminal_Gui_Key_" data-uid="Terminal.Gui.View.ReplaceKeyBinding(Terminal.Gui.Key,Terminal.Gui.Key)">ReplaceKeyBinding(Key, Key)</h4>
  3980. <div class="markdown level1 summary">
  3981. Replaces a key combination already bound to <a class="xref" href="Terminal.Gui.Command.html">Command</a>.
  3982. </div>
  3983. <div class="markdown level1 conceptual"></div>
  3984. <h5 class="decalaration">Declaration</h5>
  3985. <div class="codewrapper">
  3986. <pre><code class="lang-csharp hljs">protected void ReplaceKeyBinding(Key fromKey, Key toKey)</code></pre>
  3987. </div>
  3988. <h5 class="parameters">Parameters</h5>
  3989. <table class="table table-bordered table-striped table-condensed">
  3990. <thead>
  3991. <tr>
  3992. <th>Type</th>
  3993. <th>Name</th>
  3994. <th>Description</th>
  3995. </tr>
  3996. </thead>
  3997. <tbody>
  3998. <tr>
  3999. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  4000. <td><span class="parametername">fromKey</span></td>
  4001. <td>The key to be replaced.</td>
  4002. </tr>
  4003. <tr>
  4004. <td><a class="xref" href="Terminal.Gui.Key.html">Key</a></td>
  4005. <td><span class="parametername">toKey</span></td>
  4006. <td>The new key to be used.</td>
  4007. </tr>
  4008. </tbody>
  4009. </table>
  4010. <span class="small pull-right mobile-hide">
  4011. <span class="divider">|</span>
  4012. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ScreenToView(System.Int32%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4013. </span>
  4014. <span class="small pull-right mobile-hide">
  4015. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1166">View Source</a>
  4016. </span>
  4017. <a id="Terminal_Gui_View_ScreenToView_" data-uid="Terminal.Gui.View.ScreenToView*"></a>
  4018. <h4 id="Terminal_Gui_View_ScreenToView_System_Int32_System_Int32_" data-uid="Terminal.Gui.View.ScreenToView(System.Int32,System.Int32)">ScreenToView(Int32, Int32)</h4>
  4019. <div class="markdown level1 summary">
  4020. Converts a point from screen-relative coordinates to view-relative coordinates.
  4021. </div>
  4022. <div class="markdown level1 conceptual"></div>
  4023. <h5 class="decalaration">Declaration</h5>
  4024. <div class="codewrapper">
  4025. <pre><code class="lang-csharp hljs">public Point ScreenToView(int x, int y)</code></pre>
  4026. </div>
  4027. <h5 class="parameters">Parameters</h5>
  4028. <table class="table table-bordered table-striped table-condensed">
  4029. <thead>
  4030. <tr>
  4031. <th>Type</th>
  4032. <th>Name</th>
  4033. <th>Description</th>
  4034. </tr>
  4035. </thead>
  4036. <tbody>
  4037. <tr>
  4038. <td><span class="xref">System.Int32</span></td>
  4039. <td><span class="parametername">x</span></td>
  4040. <td>X screen-coordinate point.</td>
  4041. </tr>
  4042. <tr>
  4043. <td><span class="xref">System.Int32</span></td>
  4044. <td><span class="parametername">y</span></td>
  4045. <td>Y screen-coordinate point.</td>
  4046. </tr>
  4047. </tbody>
  4048. </table>
  4049. <h5 class="returns">Returns</h5>
  4050. <table class="table table-bordered table-striped table-condensed">
  4051. <thead>
  4052. <tr>
  4053. <th>Type</th>
  4054. <th>Description</th>
  4055. </tr>
  4056. </thead>
  4057. <tbody>
  4058. <tr>
  4059. <td><a class="xref" href="Terminal.Gui.Point.html">Point</a></td>
  4060. <td>The mapped point.</td>
  4061. </tr>
  4062. </tbody>
  4063. </table>
  4064. <span class="small pull-right mobile-hide">
  4065. <span class="divider">|</span>
  4066. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SendSubviewBackwards(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4067. </span>
  4068. <span class="small pull-right mobile-hide">
  4069. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1068">View Source</a>
  4070. </span>
  4071. <a id="Terminal_Gui_View_SendSubviewBackwards_" data-uid="Terminal.Gui.View.SendSubviewBackwards*"></a>
  4072. <h4 id="Terminal_Gui_View_SendSubviewBackwards_Terminal_Gui_View_" data-uid="Terminal.Gui.View.SendSubviewBackwards(Terminal.Gui.View)">SendSubviewBackwards(View)</h4>
  4073. <div class="markdown level1 summary">
  4074. Moves the subview backwards in the hierarchy, only one step
  4075. </div>
  4076. <div class="markdown level1 conceptual"></div>
  4077. <h5 class="decalaration">Declaration</h5>
  4078. <div class="codewrapper">
  4079. <pre><code class="lang-csharp hljs">public void SendSubviewBackwards(View subview)</code></pre>
  4080. </div>
  4081. <h5 class="parameters">Parameters</h5>
  4082. <table class="table table-bordered table-striped table-condensed">
  4083. <thead>
  4084. <tr>
  4085. <th>Type</th>
  4086. <th>Name</th>
  4087. <th>Description</th>
  4088. </tr>
  4089. </thead>
  4090. <tbody>
  4091. <tr>
  4092. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  4093. <td><span class="parametername">subview</span></td>
  4094. <td>The subview to send backwards</td>
  4095. </tr>
  4096. </tbody>
  4097. </table>
  4098. <span class="small pull-right mobile-hide">
  4099. <span class="divider">|</span>
  4100. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SendSubviewToBack(Terminal.Gui.View)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4101. </span>
  4102. <span class="small pull-right mobile-hide">
  4103. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1053">View Source</a>
  4104. </span>
  4105. <a id="Terminal_Gui_View_SendSubviewToBack_" data-uid="Terminal.Gui.View.SendSubviewToBack*"></a>
  4106. <h4 id="Terminal_Gui_View_SendSubviewToBack_Terminal_Gui_View_" data-uid="Terminal.Gui.View.SendSubviewToBack(Terminal.Gui.View)">SendSubviewToBack(View)</h4>
  4107. <div class="markdown level1 summary">
  4108. Sends the specified subview to the front so it is the first view drawn
  4109. </div>
  4110. <div class="markdown level1 conceptual"></div>
  4111. <h5 class="decalaration">Declaration</h5>
  4112. <div class="codewrapper">
  4113. <pre><code class="lang-csharp hljs">public void SendSubviewToBack(View subview)</code></pre>
  4114. </div>
  4115. <h5 class="parameters">Parameters</h5>
  4116. <table class="table table-bordered table-striped table-condensed">
  4117. <thead>
  4118. <tr>
  4119. <th>Type</th>
  4120. <th>Name</th>
  4121. <th>Description</th>
  4122. </tr>
  4123. </thead>
  4124. <tbody>
  4125. <tr>
  4126. <td><a class="xref" href="Terminal.Gui.View.html">View</a></td>
  4127. <td><span class="parametername">subview</span></td>
  4128. <td>The subview to send to the front</td>
  4129. </tr>
  4130. </tbody>
  4131. </table>
  4132. <span class="small pull-right mobile-hide">
  4133. <span class="divider">|</span>
  4134. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetChildNeedsDisplay.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetChildNeedsDisplay%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4135. </span>
  4136. <span class="small pull-right mobile-hide">
  4137. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L915">View Source</a>
  4138. </span>
  4139. <a id="Terminal_Gui_View_SetChildNeedsDisplay_" data-uid="Terminal.Gui.View.SetChildNeedsDisplay*"></a>
  4140. <h4 id="Terminal_Gui_View_SetChildNeedsDisplay" data-uid="Terminal.Gui.View.SetChildNeedsDisplay">SetChildNeedsDisplay()</h4>
  4141. <div class="markdown level1 summary">
  4142. Indicates that any child views (in the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Subviews">Subviews</a> list) need to be repainted.
  4143. </div>
  4144. <div class="markdown level1 conceptual"></div>
  4145. <h5 class="decalaration">Declaration</h5>
  4146. <div class="codewrapper">
  4147. <pre><code class="lang-csharp hljs">public void SetChildNeedsDisplay()</code></pre>
  4148. </div>
  4149. <span class="small pull-right mobile-hide">
  4150. <span class="divider">|</span>
  4151. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetClip_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetClip(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4152. </span>
  4153. <span class="small pull-right mobile-hide">
  4154. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1213">View Source</a>
  4155. </span>
  4156. <a id="Terminal_Gui_View_SetClip_" data-uid="Terminal.Gui.View.SetClip*"></a>
  4157. <h4 id="Terminal_Gui_View_SetClip_Terminal_Gui_Rect_" data-uid="Terminal.Gui.View.SetClip(Terminal.Gui.Rect)">SetClip(Rect)</h4>
  4158. <div class="markdown level1 summary">
  4159. Sets the clip region to the specified view-relative region.
  4160. </div>
  4161. <div class="markdown level1 conceptual"></div>
  4162. <h5 class="decalaration">Declaration</h5>
  4163. <div class="codewrapper">
  4164. <pre><code class="lang-csharp hljs">public Rect SetClip(Rect region)</code></pre>
  4165. </div>
  4166. <h5 class="parameters">Parameters</h5>
  4167. <table class="table table-bordered table-striped table-condensed">
  4168. <thead>
  4169. <tr>
  4170. <th>Type</th>
  4171. <th>Name</th>
  4172. <th>Description</th>
  4173. </tr>
  4174. </thead>
  4175. <tbody>
  4176. <tr>
  4177. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  4178. <td><span class="parametername">region</span></td>
  4179. <td>View-relative clip region.</td>
  4180. </tr>
  4181. </tbody>
  4182. </table>
  4183. <h5 class="returns">Returns</h5>
  4184. <table class="table table-bordered table-striped table-condensed">
  4185. <thead>
  4186. <tr>
  4187. <th>Type</th>
  4188. <th>Description</th>
  4189. </tr>
  4190. </thead>
  4191. <tbody>
  4192. <tr>
  4193. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  4194. <td>The previous screen-relative clip region.</td>
  4195. </tr>
  4196. </tbody>
  4197. </table>
  4198. <span class="small pull-right mobile-hide">
  4199. <span class="divider">|</span>
  4200. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetFocus.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetFocus%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4201. </span>
  4202. <span class="small pull-right mobile-hide">
  4203. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1653">View Source</a>
  4204. </span>
  4205. <a id="Terminal_Gui_View_SetFocus_" data-uid="Terminal.Gui.View.SetFocus*"></a>
  4206. <h4 id="Terminal_Gui_View_SetFocus" data-uid="Terminal.Gui.View.SetFocus">SetFocus()</h4>
  4207. <div class="markdown level1 summary">
  4208. Causes the specified view and the entire parent hierarchy to have the focused order updated.
  4209. </div>
  4210. <div class="markdown level1 conceptual"></div>
  4211. <h5 class="decalaration">Declaration</h5>
  4212. <div class="codewrapper">
  4213. <pre><code class="lang-csharp hljs">public void SetFocus()</code></pre>
  4214. </div>
  4215. <span class="small pull-right mobile-hide">
  4216. <span class="divider">|</span>
  4217. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetHeight_System_Int32_System_Int32__.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetHeight(System.Int32%2CSystem.Int32%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4218. </span>
  4219. <span class="small pull-right mobile-hide">
  4220. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2965">View Source</a>
  4221. </span>
  4222. <a id="Terminal_Gui_View_SetHeight_" data-uid="Terminal.Gui.View.SetHeight*"></a>
  4223. <h4 id="Terminal_Gui_View_SetHeight_System_Int32_System_Int32__" data-uid="Terminal.Gui.View.SetHeight(System.Int32,System.Int32@)">SetHeight(Int32, out Int32)</h4>
  4224. <div class="markdown level1 summary">
  4225. Calculate the height based on the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Height">Height</a> settings.
  4226. </div>
  4227. <div class="markdown level1 conceptual"></div>
  4228. <h5 class="decalaration">Declaration</h5>
  4229. <div class="codewrapper">
  4230. <pre><code class="lang-csharp hljs">public bool SetHeight(int desiredHeight, out int resultHeight)</code></pre>
  4231. </div>
  4232. <h5 class="parameters">Parameters</h5>
  4233. <table class="table table-bordered table-striped table-condensed">
  4234. <thead>
  4235. <tr>
  4236. <th>Type</th>
  4237. <th>Name</th>
  4238. <th>Description</th>
  4239. </tr>
  4240. </thead>
  4241. <tbody>
  4242. <tr>
  4243. <td><span class="xref">System.Int32</span></td>
  4244. <td><span class="parametername">desiredHeight</span></td>
  4245. <td>The desired height.</td>
  4246. </tr>
  4247. <tr>
  4248. <td><span class="xref">System.Int32</span></td>
  4249. <td><span class="parametername">resultHeight</span></td>
  4250. <td>The real result height.</td>
  4251. </tr>
  4252. </tbody>
  4253. </table>
  4254. <h5 class="returns">Returns</h5>
  4255. <table class="table table-bordered table-striped table-condensed">
  4256. <thead>
  4257. <tr>
  4258. <th>Type</th>
  4259. <th>Description</th>
  4260. </tr>
  4261. </thead>
  4262. <tbody>
  4263. <tr>
  4264. <td><span class="xref">System.Boolean</span></td>
  4265. <td><code>true</code> if the height can be directly assigned, <code>false</code> otherwise.</td>
  4266. </tr>
  4267. </tbody>
  4268. </table>
  4269. <span class="small pull-right mobile-hide">
  4270. <span class="divider">|</span>
  4271. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetMinWidthHeight.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetMinWidthHeight%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4272. </span>
  4273. <span class="small pull-right mobile-hide">
  4274. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L667">View Source</a>
  4275. </span>
  4276. <a id="Terminal_Gui_View_SetMinWidthHeight_" data-uid="Terminal.Gui.View.SetMinWidthHeight*"></a>
  4277. <h4 id="Terminal_Gui_View_SetMinWidthHeight" data-uid="Terminal.Gui.View.SetMinWidthHeight">SetMinWidthHeight()</h4>
  4278. <div class="markdown level1 summary">
  4279. Sets the minimum width or height if the view can be resized.
  4280. </div>
  4281. <div class="markdown level1 conceptual"></div>
  4282. <h5 class="decalaration">Declaration</h5>
  4283. <div class="codewrapper">
  4284. <pre><code class="lang-csharp hljs">public bool SetMinWidthHeight()</code></pre>
  4285. </div>
  4286. <h5 class="returns">Returns</h5>
  4287. <table class="table table-bordered table-striped table-condensed">
  4288. <thead>
  4289. <tr>
  4290. <th>Type</th>
  4291. <th>Description</th>
  4292. </tr>
  4293. </thead>
  4294. <tbody>
  4295. <tr>
  4296. <td><span class="xref">System.Boolean</span></td>
  4297. <td><span class="xref">true</span> if the size can be set, <span class="xref">false</span>otherwise.</td>
  4298. </tr>
  4299. </tbody>
  4300. </table>
  4301. <span class="small pull-right mobile-hide">
  4302. <span class="divider">|</span>
  4303. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetNeedsDisplay.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetNeedsDisplay%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4304. </span>
  4305. <span class="small pull-right mobile-hide">
  4306. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L853">View Source</a>
  4307. </span>
  4308. <a id="Terminal_Gui_View_SetNeedsDisplay_" data-uid="Terminal.Gui.View.SetNeedsDisplay*"></a>
  4309. <h4 id="Terminal_Gui_View_SetNeedsDisplay" data-uid="Terminal.Gui.View.SetNeedsDisplay">SetNeedsDisplay()</h4>
  4310. <div class="markdown level1 summary">
  4311. Sets a flag indicating this view needs to be redisplayed because its state has changed.
  4312. </div>
  4313. <div class="markdown level1 conceptual"></div>
  4314. <h5 class="decalaration">Declaration</h5>
  4315. <div class="codewrapper">
  4316. <pre><code class="lang-csharp hljs">public void SetNeedsDisplay()</code></pre>
  4317. </div>
  4318. <span class="small pull-right mobile-hide">
  4319. <span class="divider">|</span>
  4320. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetNeedsDisplay(Terminal.Gui.Rect)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4321. </span>
  4322. <span class="small pull-right mobile-hide">
  4323. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L886">View Source</a>
  4324. </span>
  4325. <a id="Terminal_Gui_View_SetNeedsDisplay_" data-uid="Terminal.Gui.View.SetNeedsDisplay*"></a>
  4326. <h4 id="Terminal_Gui_View_SetNeedsDisplay_Terminal_Gui_Rect_" data-uid="Terminal.Gui.View.SetNeedsDisplay(Terminal.Gui.Rect)">SetNeedsDisplay(Rect)</h4>
  4327. <div class="markdown level1 summary">
  4328. Flags the view-relative region on this View as needing to be repainted.
  4329. </div>
  4330. <div class="markdown level1 conceptual"></div>
  4331. <h5 class="decalaration">Declaration</h5>
  4332. <div class="codewrapper">
  4333. <pre><code class="lang-csharp hljs">public void SetNeedsDisplay(Rect region)</code></pre>
  4334. </div>
  4335. <h5 class="parameters">Parameters</h5>
  4336. <table class="table table-bordered table-striped table-condensed">
  4337. <thead>
  4338. <tr>
  4339. <th>Type</th>
  4340. <th>Name</th>
  4341. <th>Description</th>
  4342. </tr>
  4343. </thead>
  4344. <tbody>
  4345. <tr>
  4346. <td><a class="xref" href="Terminal.Gui.Rect.html">Rect</a></td>
  4347. <td><span class="parametername">region</span></td>
  4348. <td>The view-relative region that must be flagged for repaint.</td>
  4349. </tr>
  4350. </tbody>
  4351. </table>
  4352. <span class="small pull-right mobile-hide">
  4353. <span class="divider">|</span>
  4354. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_SetWidth_System_Int32_System_Int32__.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.SetWidth(System.Int32%2CSystem.Int32%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4355. </span>
  4356. <span class="small pull-right mobile-hide">
  4357. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2954">View Source</a>
  4358. </span>
  4359. <a id="Terminal_Gui_View_SetWidth_" data-uid="Terminal.Gui.View.SetWidth*"></a>
  4360. <h4 id="Terminal_Gui_View_SetWidth_System_Int32_System_Int32__" data-uid="Terminal.Gui.View.SetWidth(System.Int32,System.Int32@)">SetWidth(Int32, out Int32)</h4>
  4361. <div class="markdown level1 summary">
  4362. Calculate the width based on the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Width">Width</a> settings.
  4363. </div>
  4364. <div class="markdown level1 conceptual"></div>
  4365. <h5 class="decalaration">Declaration</h5>
  4366. <div class="codewrapper">
  4367. <pre><code class="lang-csharp hljs">public bool SetWidth(int desiredWidth, out int resultWidth)</code></pre>
  4368. </div>
  4369. <h5 class="parameters">Parameters</h5>
  4370. <table class="table table-bordered table-striped table-condensed">
  4371. <thead>
  4372. <tr>
  4373. <th>Type</th>
  4374. <th>Name</th>
  4375. <th>Description</th>
  4376. </tr>
  4377. </thead>
  4378. <tbody>
  4379. <tr>
  4380. <td><span class="xref">System.Int32</span></td>
  4381. <td><span class="parametername">desiredWidth</span></td>
  4382. <td>The desired width.</td>
  4383. </tr>
  4384. <tr>
  4385. <td><span class="xref">System.Int32</span></td>
  4386. <td><span class="parametername">resultWidth</span></td>
  4387. <td>The real result width.</td>
  4388. </tr>
  4389. </tbody>
  4390. </table>
  4391. <h5 class="returns">Returns</h5>
  4392. <table class="table table-bordered table-striped table-condensed">
  4393. <thead>
  4394. <tr>
  4395. <th>Type</th>
  4396. <th>Description</th>
  4397. </tr>
  4398. </thead>
  4399. <tbody>
  4400. <tr>
  4401. <td><span class="xref">System.Boolean</span></td>
  4402. <td><code>true</code> if the width can be directly assigned, <code>false</code> otherwise.</td>
  4403. </tr>
  4404. </tbody>
  4405. </table>
  4406. <span class="small pull-right mobile-hide">
  4407. <span class="divider">|</span>
  4408. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_ToString.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.ToString%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4409. </span>
  4410. <span class="small pull-right mobile-hide">
  4411. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2594">View Source</a>
  4412. </span>
  4413. <a id="Terminal_Gui_View_ToString_" data-uid="Terminal.Gui.View.ToString*"></a>
  4414. <h4 id="Terminal_Gui_View_ToString" data-uid="Terminal.Gui.View.ToString">ToString()</h4>
  4415. <div class="markdown level1 summary">
  4416. Pretty prints the View
  4417. </div>
  4418. <div class="markdown level1 conceptual"></div>
  4419. <h5 class="decalaration">Declaration</h5>
  4420. <div class="codewrapper">
  4421. <pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
  4422. </div>
  4423. <h5 class="returns">Returns</h5>
  4424. <table class="table table-bordered table-striped table-condensed">
  4425. <thead>
  4426. <tr>
  4427. <th>Type</th>
  4428. <th>Description</th>
  4429. </tr>
  4430. </thead>
  4431. <tbody>
  4432. <tr>
  4433. <td><span class="xref">System.String</span></td>
  4434. <td></td>
  4435. </tr>
  4436. </tbody>
  4437. </table>
  4438. <h5 class="overrides">Overrides</h5>
  4439. <div><span class="xref">System.Object.ToString()</span></div>
  4440. <span class="small pull-right mobile-hide">
  4441. <span class="divider">|</span>
  4442. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_UpdateTextFormatterText.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.UpdateTextFormatterText%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4443. </span>
  4444. <span class="small pull-right mobile-hide">
  4445. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L815">View Source</a>
  4446. </span>
  4447. <a id="Terminal_Gui_View_UpdateTextFormatterText_" data-uid="Terminal.Gui.View.UpdateTextFormatterText*"></a>
  4448. <h4 id="Terminal_Gui_View_UpdateTextFormatterText" data-uid="Terminal.Gui.View.UpdateTextFormatterText">UpdateTextFormatterText()</h4>
  4449. <div class="markdown level1 summary">
  4450. Can be overridden if the <a class="xref" href="Terminal.Gui.TextFormatter.html#Terminal_Gui_TextFormatter_Text">Text</a> has
  4451. different format than the default.
  4452. </div>
  4453. <div class="markdown level1 conceptual"></div>
  4454. <h5 class="decalaration">Declaration</h5>
  4455. <div class="codewrapper">
  4456. <pre><code class="lang-csharp hljs">protected virtual void UpdateTextFormatterText()</code></pre>
  4457. </div>
  4458. <h3 id="events">Events
  4459. </h3>
  4460. <span class="small pull-right mobile-hide">
  4461. <span class="divider">|</span>
  4462. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Added.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Added%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4463. </span>
  4464. <span class="small pull-right mobile-hide">
  4465. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L132">View Source</a>
  4466. </span>
  4467. <h4 id="Terminal_Gui_View_Added" data-uid="Terminal.Gui.View.Added">Added</h4>
  4468. <div class="markdown level1 summary">
  4469. Event fired when a subview is being added to this view.
  4470. </div>
  4471. <div class="markdown level1 conceptual"></div>
  4472. <h5 class="decalaration">Declaration</h5>
  4473. <div class="codewrapper">
  4474. <pre><code class="lang-csharp hljs">public event Action&lt;View&gt; Added</code></pre>
  4475. </div>
  4476. <h5 class="eventType">Event Type</h5>
  4477. <table class="table table-bordered table-striped table-condensed">
  4478. <thead>
  4479. <tr>
  4480. <th>Type</th>
  4481. <th>Description</th>
  4482. </tr>
  4483. </thead>
  4484. <tbody>
  4485. <tr>
  4486. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.html">View</a>&gt;</td>
  4487. <td></td>
  4488. </tr>
  4489. </tbody>
  4490. </table>
  4491. <span class="small pull-right mobile-hide">
  4492. <span class="divider">|</span>
  4493. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_CanFocusChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.CanFocusChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4494. </span>
  4495. <span class="small pull-right mobile-hide">
  4496. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L167">View Source</a>
  4497. </span>
  4498. <h4 id="Terminal_Gui_View_CanFocusChanged" data-uid="Terminal.Gui.View.CanFocusChanged">CanFocusChanged</h4>
  4499. <div class="markdown level1 summary">
  4500. Event fired when the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_CanFocus">CanFocus</a> value is being changed.
  4501. </div>
  4502. <div class="markdown level1 conceptual"></div>
  4503. <h5 class="decalaration">Declaration</h5>
  4504. <div class="codewrapper">
  4505. <pre><code class="lang-csharp hljs">public event Action CanFocusChanged</code></pre>
  4506. </div>
  4507. <h5 class="eventType">Event Type</h5>
  4508. <table class="table table-bordered table-striped table-condensed">
  4509. <thead>
  4510. <tr>
  4511. <th>Type</th>
  4512. <th>Description</th>
  4513. </tr>
  4514. </thead>
  4515. <tbody>
  4516. <tr>
  4517. <td><span class="xref">System.Action</span></td>
  4518. <td></td>
  4519. </tr>
  4520. </tbody>
  4521. </table>
  4522. <span class="small pull-right mobile-hide">
  4523. <span class="divider">|</span>
  4524. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_DrawContent.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.DrawContent%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4525. </span>
  4526. <span class="small pull-right mobile-hide">
  4527. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1577">View Source</a>
  4528. </span>
  4529. <h4 id="Terminal_Gui_View_DrawContent" data-uid="Terminal.Gui.View.DrawContent">DrawContent</h4>
  4530. <div class="markdown level1 summary">
  4531. Event invoked when the content area of the View is to be drawn.
  4532. </div>
  4533. <div class="markdown level1 conceptual"></div>
  4534. <h5 class="decalaration">Declaration</h5>
  4535. <div class="codewrapper">
  4536. <pre><code class="lang-csharp hljs">public event Action&lt;Rect&gt; DrawContent</code></pre>
  4537. </div>
  4538. <h5 class="eventType">Event Type</h5>
  4539. <table class="table table-bordered table-striped table-condensed">
  4540. <thead>
  4541. <tr>
  4542. <th>Type</th>
  4543. <th>Description</th>
  4544. </tr>
  4545. </thead>
  4546. <tbody>
  4547. <tr>
  4548. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Rect.html">Rect</a>&gt;</td>
  4549. <td></td>
  4550. </tr>
  4551. </tbody>
  4552. </table>
  4553. <span class="small pull-right mobile-hide">
  4554. <span class="divider">|</span>
  4555. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_DrawContentComplete.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.DrawContentComplete%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4556. </span>
  4557. <span class="small pull-right mobile-hide">
  4558. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1602">View Source</a>
  4559. </span>
  4560. <h4 id="Terminal_Gui_View_DrawContentComplete" data-uid="Terminal.Gui.View.DrawContentComplete">DrawContentComplete</h4>
  4561. <div class="markdown level1 summary">
  4562. Event invoked when the content area of the View is completed drawing.
  4563. </div>
  4564. <div class="markdown level1 conceptual"></div>
  4565. <h5 class="decalaration">Declaration</h5>
  4566. <div class="codewrapper">
  4567. <pre><code class="lang-csharp hljs">public event Action&lt;Rect&gt; DrawContentComplete</code></pre>
  4568. </div>
  4569. <h5 class="eventType">Event Type</h5>
  4570. <table class="table table-bordered table-striped table-condensed">
  4571. <thead>
  4572. <tr>
  4573. <th>Type</th>
  4574. <th>Description</th>
  4575. </tr>
  4576. </thead>
  4577. <tbody>
  4578. <tr>
  4579. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Rect.html">Rect</a>&gt;</td>
  4580. <td></td>
  4581. </tr>
  4582. </tbody>
  4583. </table>
  4584. <span class="small pull-right mobile-hide">
  4585. <span class="divider">|</span>
  4586. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_EnabledChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.EnabledChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4587. </span>
  4588. <span class="small pull-right mobile-hide">
  4589. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L172">View Source</a>
  4590. </span>
  4591. <h4 id="Terminal_Gui_View_EnabledChanged" data-uid="Terminal.Gui.View.EnabledChanged">EnabledChanged</h4>
  4592. <div class="markdown level1 summary">
  4593. Event fired when the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Enabled">Enabled</a> value is being changed.
  4594. </div>
  4595. <div class="markdown level1 conceptual"></div>
  4596. <h5 class="decalaration">Declaration</h5>
  4597. <div class="codewrapper">
  4598. <pre><code class="lang-csharp hljs">public event Action EnabledChanged</code></pre>
  4599. </div>
  4600. <h5 class="eventType">Event Type</h5>
  4601. <table class="table table-bordered table-striped table-condensed">
  4602. <thead>
  4603. <tr>
  4604. <th>Type</th>
  4605. <th>Description</th>
  4606. </tr>
  4607. </thead>
  4608. <tbody>
  4609. <tr>
  4610. <td><span class="xref">System.Action</span></td>
  4611. <td></td>
  4612. </tr>
  4613. </tbody>
  4614. </table>
  4615. <span class="small pull-right mobile-hide">
  4616. <span class="divider">|</span>
  4617. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Enter.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Enter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4618. </span>
  4619. <span class="small pull-right mobile-hide">
  4620. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L142">View Source</a>
  4621. </span>
  4622. <h4 id="Terminal_Gui_View_Enter" data-uid="Terminal.Gui.View.Enter">Enter</h4>
  4623. <div class="markdown level1 summary">
  4624. Event fired when the view gets focus.
  4625. </div>
  4626. <div class="markdown level1 conceptual"></div>
  4627. <h5 class="decalaration">Declaration</h5>
  4628. <div class="codewrapper">
  4629. <pre><code class="lang-csharp hljs">public event Action&lt;View.FocusEventArgs&gt; Enter</code></pre>
  4630. </div>
  4631. <h5 class="eventType">Event Type</h5>
  4632. <table class="table table-bordered table-striped table-condensed">
  4633. <thead>
  4634. <tr>
  4635. <th>Type</th>
  4636. <th>Description</th>
  4637. </tr>
  4638. </thead>
  4639. <tbody>
  4640. <tr>
  4641. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.FocusEventArgs.html">View.FocusEventArgs</a>&gt;</td>
  4642. <td></td>
  4643. </tr>
  4644. </tbody>
  4645. </table>
  4646. <span class="small pull-right mobile-hide">
  4647. <span class="divider">|</span>
  4648. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_HotKeyChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.HotKeyChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4649. </span>
  4650. <span class="small pull-right mobile-hide">
  4651. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L182">View Source</a>
  4652. </span>
  4653. <h4 id="Terminal_Gui_View_HotKeyChanged" data-uid="Terminal.Gui.View.HotKeyChanged">HotKeyChanged</h4>
  4654. <div class="markdown level1 summary">
  4655. Event invoked when the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_HotKey">HotKey</a> is changed.
  4656. </div>
  4657. <div class="markdown level1 conceptual"></div>
  4658. <h5 class="decalaration">Declaration</h5>
  4659. <div class="codewrapper">
  4660. <pre><code class="lang-csharp hljs">public event Action&lt;Key&gt; HotKeyChanged</code></pre>
  4661. </div>
  4662. <h5 class="eventType">Event Type</h5>
  4663. <table class="table table-bordered table-striped table-condensed">
  4664. <thead>
  4665. <tr>
  4666. <th>Type</th>
  4667. <th>Description</th>
  4668. </tr>
  4669. </thead>
  4670. <tbody>
  4671. <tr>
  4672. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.Key.html">Key</a>&gt;</td>
  4673. <td></td>
  4674. </tr>
  4675. </tbody>
  4676. </table>
  4677. <span class="small pull-right mobile-hide">
  4678. <span class="divider">|</span>
  4679. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Initialized.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Initialized%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4680. </span>
  4681. <span class="small pull-right mobile-hide">
  4682. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2288">View Source</a>
  4683. </span>
  4684. <h4 id="Terminal_Gui_View_Initialized" data-uid="Terminal.Gui.View.Initialized">Initialized</h4>
  4685. <div class="markdown level1 summary">
  4686. Event called only once when the <a class="xref" href="Terminal.Gui.View.html">View</a> is being initialized for the first time.
  4687. Allows configurations and assignments to be performed before the <a class="xref" href="Terminal.Gui.View.html">View</a> being shown.
  4688. This derived from <span class="xref">System.ComponentModel.ISupportInitializeNotification</span> to allow notify all the views that are being initialized.
  4689. </div>
  4690. <div class="markdown level1 conceptual"></div>
  4691. <h5 class="decalaration">Declaration</h5>
  4692. <div class="codewrapper">
  4693. <pre><code class="lang-csharp hljs">public event EventHandler Initialized</code></pre>
  4694. </div>
  4695. <h5 class="eventType">Event Type</h5>
  4696. <table class="table table-bordered table-striped table-condensed">
  4697. <thead>
  4698. <tr>
  4699. <th>Type</th>
  4700. <th>Description</th>
  4701. </tr>
  4702. </thead>
  4703. <tbody>
  4704. <tr>
  4705. <td><span class="xref">System.EventHandler</span></td>
  4706. <td></td>
  4707. </tr>
  4708. </tbody>
  4709. </table>
  4710. <span class="small pull-right mobile-hide">
  4711. <span class="divider">|</span>
  4712. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_KeyDown.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.KeyDown%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4713. </span>
  4714. <span class="small pull-right mobile-hide">
  4715. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1920">View Source</a>
  4716. </span>
  4717. <h4 id="Terminal_Gui_View_KeyDown" data-uid="Terminal.Gui.View.KeyDown">KeyDown</h4>
  4718. <div class="markdown level1 summary">
  4719. Invoked when a key is pressed
  4720. </div>
  4721. <div class="markdown level1 conceptual"></div>
  4722. <h5 class="decalaration">Declaration</h5>
  4723. <div class="codewrapper">
  4724. <pre><code class="lang-csharp hljs">public event Action&lt;View.KeyEventEventArgs&gt; KeyDown</code></pre>
  4725. </div>
  4726. <h5 class="eventType">Event Type</h5>
  4727. <table class="table table-bordered table-striped table-condensed">
  4728. <thead>
  4729. <tr>
  4730. <th>Type</th>
  4731. <th>Description</th>
  4732. </tr>
  4733. </thead>
  4734. <tbody>
  4735. <tr>
  4736. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.KeyEventEventArgs.html">View.KeyEventEventArgs</a>&gt;</td>
  4737. <td></td>
  4738. </tr>
  4739. </tbody>
  4740. </table>
  4741. <span class="small pull-right mobile-hide">
  4742. <span class="divider">|</span>
  4743. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_KeyPress.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.KeyPress%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4744. </span>
  4745. <span class="small pull-right mobile-hide">
  4746. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1688">View Source</a>
  4747. </span>
  4748. <h4 id="Terminal_Gui_View_KeyPress" data-uid="Terminal.Gui.View.KeyPress">KeyPress</h4>
  4749. <div class="markdown level1 summary">
  4750. Invoked when a character key is pressed and occurs after the key up event.
  4751. </div>
  4752. <div class="markdown level1 conceptual"></div>
  4753. <h5 class="decalaration">Declaration</h5>
  4754. <div class="codewrapper">
  4755. <pre><code class="lang-csharp hljs">public event Action&lt;View.KeyEventEventArgs&gt; KeyPress</code></pre>
  4756. </div>
  4757. <h5 class="eventType">Event Type</h5>
  4758. <table class="table table-bordered table-striped table-condensed">
  4759. <thead>
  4760. <tr>
  4761. <th>Type</th>
  4762. <th>Description</th>
  4763. </tr>
  4764. </thead>
  4765. <tbody>
  4766. <tr>
  4767. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.KeyEventEventArgs.html">View.KeyEventEventArgs</a>&gt;</td>
  4768. <td></td>
  4769. </tr>
  4770. </tbody>
  4771. </table>
  4772. <span class="small pull-right mobile-hide">
  4773. <span class="divider">|</span>
  4774. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_KeyUp.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.KeyUp%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4775. </span>
  4776. <span class="small pull-right mobile-hide">
  4777. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L1944">View Source</a>
  4778. </span>
  4779. <h4 id="Terminal_Gui_View_KeyUp" data-uid="Terminal.Gui.View.KeyUp">KeyUp</h4>
  4780. <div class="markdown level1 summary">
  4781. Invoked when a key is released
  4782. </div>
  4783. <div class="markdown level1 conceptual"></div>
  4784. <h5 class="decalaration">Declaration</h5>
  4785. <div class="codewrapper">
  4786. <pre><code class="lang-csharp hljs">public event Action&lt;View.KeyEventEventArgs&gt; KeyUp</code></pre>
  4787. </div>
  4788. <h5 class="eventType">Event Type</h5>
  4789. <table class="table table-bordered table-striped table-condensed">
  4790. <thead>
  4791. <tr>
  4792. <th>Type</th>
  4793. <th>Description</th>
  4794. </tr>
  4795. </thead>
  4796. <tbody>
  4797. <tr>
  4798. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.KeyEventEventArgs.html">View.KeyEventEventArgs</a>&gt;</td>
  4799. <td></td>
  4800. </tr>
  4801. </tbody>
  4802. </table>
  4803. <span class="small pull-right mobile-hide">
  4804. <span class="divider">|</span>
  4805. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_LayoutComplete.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.LayoutComplete%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4806. </span>
  4807. <span class="small pull-right mobile-hide">
  4808. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2281">View Source</a>
  4809. </span>
  4810. <h4 id="Terminal_Gui_View_LayoutComplete" data-uid="Terminal.Gui.View.LayoutComplete">LayoutComplete</h4>
  4811. <div class="markdown level1 summary">
  4812. Fired after the Views&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">LayoutSubviews()</a> method has completed.
  4813. </div>
  4814. <div class="markdown level1 conceptual"></div>
  4815. <h5 class="decalaration">Declaration</h5>
  4816. <div class="codewrapper">
  4817. <pre><code class="lang-csharp hljs">public event Action&lt;View.LayoutEventArgs&gt; LayoutComplete</code></pre>
  4818. </div>
  4819. <h5 class="eventType">Event Type</h5>
  4820. <table class="table table-bordered table-striped table-condensed">
  4821. <thead>
  4822. <tr>
  4823. <th>Type</th>
  4824. <th>Description</th>
  4825. </tr>
  4826. </thead>
  4827. <tbody>
  4828. <tr>
  4829. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.LayoutEventArgs.html">View.LayoutEventArgs</a>&gt;</td>
  4830. <td></td>
  4831. </tr>
  4832. </tbody>
  4833. </table>
  4834. <span class="small pull-right mobile-hide">
  4835. <span class="divider">|</span>
  4836. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_LayoutStarted.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.LayoutStarted%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4837. </span>
  4838. <span class="small pull-right mobile-hide">
  4839. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L2265">View Source</a>
  4840. </span>
  4841. <h4 id="Terminal_Gui_View_LayoutStarted" data-uid="Terminal.Gui.View.LayoutStarted">LayoutStarted</h4>
  4842. <div class="markdown level1 summary">
  4843. Fired after the Views&apos;s <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_LayoutSubviews">LayoutSubviews()</a> method has completed.
  4844. </div>
  4845. <div class="markdown level1 conceptual"></div>
  4846. <h5 class="decalaration">Declaration</h5>
  4847. <div class="codewrapper">
  4848. <pre><code class="lang-csharp hljs">public event Action&lt;View.LayoutEventArgs&gt; LayoutStarted</code></pre>
  4849. </div>
  4850. <h5 class="eventType">Event Type</h5>
  4851. <table class="table table-bordered table-striped table-condensed">
  4852. <thead>
  4853. <tr>
  4854. <th>Type</th>
  4855. <th>Description</th>
  4856. </tr>
  4857. </thead>
  4858. <tbody>
  4859. <tr>
  4860. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.LayoutEventArgs.html">View.LayoutEventArgs</a>&gt;</td>
  4861. <td></td>
  4862. </tr>
  4863. </tbody>
  4864. </table>
  4865. <span class="small pull-right mobile-hide">
  4866. <span class="divider">|</span>
  4867. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Leave.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Leave%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4868. </span>
  4869. <span class="small pull-right mobile-hide">
  4870. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L147">View Source</a>
  4871. </span>
  4872. <h4 id="Terminal_Gui_View_Leave" data-uid="Terminal.Gui.View.Leave">Leave</h4>
  4873. <div class="markdown level1 summary">
  4874. Event fired when the view looses focus.
  4875. </div>
  4876. <div class="markdown level1 conceptual"></div>
  4877. <h5 class="decalaration">Declaration</h5>
  4878. <div class="codewrapper">
  4879. <pre><code class="lang-csharp hljs">public event Action&lt;View.FocusEventArgs&gt; Leave</code></pre>
  4880. </div>
  4881. <h5 class="eventType">Event Type</h5>
  4882. <table class="table table-bordered table-striped table-condensed">
  4883. <thead>
  4884. <tr>
  4885. <th>Type</th>
  4886. <th>Description</th>
  4887. </tr>
  4888. </thead>
  4889. <tbody>
  4890. <tr>
  4891. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.FocusEventArgs.html">View.FocusEventArgs</a>&gt;</td>
  4892. <td></td>
  4893. </tr>
  4894. </tbody>
  4895. </table>
  4896. <span class="small pull-right mobile-hide">
  4897. <span class="divider">|</span>
  4898. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_MouseClick.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.MouseClick%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4899. </span>
  4900. <span class="small pull-right mobile-hide">
  4901. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L162">View Source</a>
  4902. </span>
  4903. <h4 id="Terminal_Gui_View_MouseClick" data-uid="Terminal.Gui.View.MouseClick">MouseClick</h4>
  4904. <div class="markdown level1 summary">
  4905. Event fired when a mouse event is generated.
  4906. </div>
  4907. <div class="markdown level1 conceptual"></div>
  4908. <h5 class="decalaration">Declaration</h5>
  4909. <div class="codewrapper">
  4910. <pre><code class="lang-csharp hljs">public event Action&lt;View.MouseEventArgs&gt; MouseClick</code></pre>
  4911. </div>
  4912. <h5 class="eventType">Event Type</h5>
  4913. <table class="table table-bordered table-striped table-condensed">
  4914. <thead>
  4915. <tr>
  4916. <th>Type</th>
  4917. <th>Description</th>
  4918. </tr>
  4919. </thead>
  4920. <tbody>
  4921. <tr>
  4922. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.MouseEventArgs.html">View.MouseEventArgs</a>&gt;</td>
  4923. <td></td>
  4924. </tr>
  4925. </tbody>
  4926. </table>
  4927. <span class="small pull-right mobile-hide">
  4928. <span class="divider">|</span>
  4929. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_MouseEnter.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.MouseEnter%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4930. </span>
  4931. <span class="small pull-right mobile-hide">
  4932. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L152">View Source</a>
  4933. </span>
  4934. <h4 id="Terminal_Gui_View_MouseEnter" data-uid="Terminal.Gui.View.MouseEnter">MouseEnter</h4>
  4935. <div class="markdown level1 summary">
  4936. Event fired when the view receives the mouse event for the first time.
  4937. </div>
  4938. <div class="markdown level1 conceptual"></div>
  4939. <h5 class="decalaration">Declaration</h5>
  4940. <div class="codewrapper">
  4941. <pre><code class="lang-csharp hljs">public event Action&lt;View.MouseEventArgs&gt; MouseEnter</code></pre>
  4942. </div>
  4943. <h5 class="eventType">Event Type</h5>
  4944. <table class="table table-bordered table-striped table-condensed">
  4945. <thead>
  4946. <tr>
  4947. <th>Type</th>
  4948. <th>Description</th>
  4949. </tr>
  4950. </thead>
  4951. <tbody>
  4952. <tr>
  4953. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.MouseEventArgs.html">View.MouseEventArgs</a>&gt;</td>
  4954. <td></td>
  4955. </tr>
  4956. </tbody>
  4957. </table>
  4958. <span class="small pull-right mobile-hide">
  4959. <span class="divider">|</span>
  4960. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_MouseLeave.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.MouseLeave%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4961. </span>
  4962. <span class="small pull-right mobile-hide">
  4963. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L157">View Source</a>
  4964. </span>
  4965. <h4 id="Terminal_Gui_View_MouseLeave" data-uid="Terminal.Gui.View.MouseLeave">MouseLeave</h4>
  4966. <div class="markdown level1 summary">
  4967. Event fired when the view receives a mouse event for the last time.
  4968. </div>
  4969. <div class="markdown level1 conceptual"></div>
  4970. <h5 class="decalaration">Declaration</h5>
  4971. <div class="codewrapper">
  4972. <pre><code class="lang-csharp hljs">public event Action&lt;View.MouseEventArgs&gt; MouseLeave</code></pre>
  4973. </div>
  4974. <h5 class="eventType">Event Type</h5>
  4975. <table class="table table-bordered table-striped table-condensed">
  4976. <thead>
  4977. <tr>
  4978. <th>Type</th>
  4979. <th>Description</th>
  4980. </tr>
  4981. </thead>
  4982. <tbody>
  4983. <tr>
  4984. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.MouseEventArgs.html">View.MouseEventArgs</a>&gt;</td>
  4985. <td></td>
  4986. </tr>
  4987. </tbody>
  4988. </table>
  4989. <span class="small pull-right mobile-hide">
  4990. <span class="divider">|</span>
  4991. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_Removed.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.Removed%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  4992. </span>
  4993. <span class="small pull-right mobile-hide">
  4994. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L137">View Source</a>
  4995. </span>
  4996. <h4 id="Terminal_Gui_View_Removed" data-uid="Terminal.Gui.View.Removed">Removed</h4>
  4997. <div class="markdown level1 summary">
  4998. Event fired when a subview is being removed from this view.
  4999. </div>
  5000. <div class="markdown level1 conceptual"></div>
  5001. <h5 class="decalaration">Declaration</h5>
  5002. <div class="codewrapper">
  5003. <pre><code class="lang-csharp hljs">public event Action&lt;View&gt; Removed</code></pre>
  5004. </div>
  5005. <h5 class="eventType">Event Type</h5>
  5006. <table class="table table-bordered table-striped table-condensed">
  5007. <thead>
  5008. <tr>
  5009. <th>Type</th>
  5010. <th>Description</th>
  5011. </tr>
  5012. </thead>
  5013. <tbody>
  5014. <tr>
  5015. <td><span class="xref">System.Action</span>&lt;<a class="xref" href="Terminal.Gui.View.html">View</a>&gt;</td>
  5016. <td></td>
  5017. </tr>
  5018. </tbody>
  5019. </table>
  5020. <span class="small pull-right mobile-hide">
  5021. <span class="divider">|</span>
  5022. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View_VisibleChanged.md&amp;value=---%0Auid%3A%20Terminal.Gui.View.VisibleChanged%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  5023. </span>
  5024. <span class="small pull-right mobile-hide">
  5025. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L177">View Source</a>
  5026. </span>
  5027. <h4 id="Terminal_Gui_View_VisibleChanged" data-uid="Terminal.Gui.View.VisibleChanged">VisibleChanged</h4>
  5028. <div class="markdown level1 summary">
  5029. Event fired when the <a class="xref" href="Terminal.Gui.View.html#Terminal_Gui_View_Visible">Visible</a> value is being changed.
  5030. </div>
  5031. <div class="markdown level1 conceptual"></div>
  5032. <h5 class="decalaration">Declaration</h5>
  5033. <div class="codewrapper">
  5034. <pre><code class="lang-csharp hljs">public event Action VisibleChanged</code></pre>
  5035. </div>
  5036. <h5 class="eventType">Event Type</h5>
  5037. <table class="table table-bordered table-striped table-condensed">
  5038. <thead>
  5039. <tr>
  5040. <th>Type</th>
  5041. <th>Description</th>
  5042. </tr>
  5043. </thead>
  5044. <tbody>
  5045. <tr>
  5046. <td><span class="xref">System.Action</span></td>
  5047. <td></td>
  5048. </tr>
  5049. </tbody>
  5050. </table>
  5051. <h3 id="implements">Implements</h3>
  5052. <div>
  5053. <span class="xref">System.IDisposable</span>
  5054. </div>
  5055. <div>
  5056. <span class="xref">System.ComponentModel.ISupportInitializeNotification</span>
  5057. </div>
  5058. <div>
  5059. <span class="xref">System.ComponentModel.ISupportInitialize</span>
  5060. </div>
  5061. </article>
  5062. </div>
  5063. <div class="hidden-sm col-md-2" role="complementary">
  5064. <div class="sideaffix">
  5065. <div class="contribution">
  5066. <ul class="nav">
  5067. <li>
  5068. <a href="https://github.com/gui-cs/Terminal.Gui/new/develop/apidoc/new?filename=Terminal_Gui_View.md&amp;value=---%0Auid%3A%20Terminal.Gui.View%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
  5069. </li>
  5070. <li>
  5071. <a href="tig:tig/gui.cs/blob/main/Terminal.Gui/Core/View.cs/#L114" class="contribution-link">View Source</a>
  5072. </li>
  5073. </ul>
  5074. </div>
  5075. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  5076. <h5>In This Article</h5>
  5077. <div></div>
  5078. </nav>
  5079. </div>
  5080. </div>
  5081. </div>
  5082. </div>
  5083. <footer>
  5084. <div class="grad-bottom"></div>
  5085. <div class="footer">
  5086. <div class="container">
  5087. <span class="pull-right">
  5088. <a href="#top">Back to top</a>
  5089. </span>
  5090. <span>Generated by <strong>DocFX</strong></span>
  5091. </div>
  5092. </div>
  5093. </footer>
  5094. </div>
  5095. <script type="text/javascript" src="../../styles/docfx.vendor.js"></script>
  5096. <script type="text/javascript" src="../../styles/docfx.js"></script>
  5097. <script type="text/javascript" src="../../styles/main.js"></script>
  5098. </body>
  5099. </html>